Extension SDK 10.1.2

oracle.javatools.editor.language
Class BuiltInStyles

java.lang.Object
  extended byoracle.javatools.editor.language.BuiltInStyles

public final class BuiltInStyles
extends java.lang.Object

The BuiltInStyles class contains constants and statics with the styles that are built in and available for all document renderers to build on top of.


Field Summary
 BaseStyle attributeNameStyle
          The base attribute name style.
 BaseStyle attributeValueStyle
          The base attribute value style.
 BaseStyle braceStyle
          The base brace style.
static java.lang.String BUILTIN_ATTRIBUTE_NAME_STYLE
          Name of base attribute name text style.
static java.lang.String BUILTIN_ATTRIBUTE_VALUE_STYLE
          Name of base attribute value text style.
static java.lang.String BUILTIN_BRACE_STYLE
          Name of the base brace text style.
static java.lang.String BUILTIN_COMMENT_STYLE
          Name of base comment text style.
static java.lang.String BUILTIN_ELEMENT_STYLE
          Name of base element name text style.
static java.lang.String BUILTIN_IDENTIFIER_STYLE
          Name of base identifier text style.
static java.lang.String BUILTIN_KEYWORD_STYLE
          Name of base keyword text style.
static java.lang.String BUILTIN_MARKUP_STYLE
          Name of base markup symbol text style.
static java.lang.String BUILTIN_NUMBER_STYLE
          Name of base number text style.
static java.lang.String BUILTIN_OPERATOR_STYLE
          Name of the base operator text style.
static java.lang.String BUILTIN_PLAIN_STYLE
          Name of the plain text style.
static java.lang.String BUILTIN_STRING_STYLE
          Name of base string text style.
 BaseStyle commentStyle
          The base comment style.
 BaseStyle elementStyle
          The base element name style.
 BaseStyle identifierStyle
          The base identifier style.
 BaseStyle keywordStyle
          The base keyword style.
 BaseStyle markupStyle
          The base markup symbol style.
 BaseStyle numberStyle
          The base number style.
 BaseStyle operatorStyle
          The base operator style.
 BaseStyle plainStyle
          The base plain text style.
 BaseStyle stringStyle
          The base string style.
static java.lang.String[] STYLE_NAMES
          The name of all the styles defined here.
 
Constructor Summary
BuiltInStyles(StyleRegistry styleRegistry)
          Creates a BuiltInStyles instance based on the styles in the given style registry.
 
Method Summary
 void reloadStyles(StyleRegistry styleRegistry)
          Reloads the built in styles from the provided style registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILTIN_PLAIN_STYLE

public static final java.lang.String BUILTIN_PLAIN_STYLE
Name of the plain text style.

See Also:
Constant Field Values

BUILTIN_COMMENT_STYLE

public static final java.lang.String BUILTIN_COMMENT_STYLE
Name of base comment text style.

See Also:
Constant Field Values

BUILTIN_KEYWORD_STYLE

public static final java.lang.String BUILTIN_KEYWORD_STYLE
Name of base keyword text style.

See Also:
Constant Field Values

BUILTIN_STRING_STYLE

public static final java.lang.String BUILTIN_STRING_STYLE
Name of base string text style.

See Also:
Constant Field Values

BUILTIN_NUMBER_STYLE

public static final java.lang.String BUILTIN_NUMBER_STYLE
Name of base number text style.

See Also:
Constant Field Values

BUILTIN_IDENTIFIER_STYLE

public static final java.lang.String BUILTIN_IDENTIFIER_STYLE
Name of base identifier text style.

See Also:
Constant Field Values

BUILTIN_BRACE_STYLE

public static final java.lang.String BUILTIN_BRACE_STYLE
Name of the base brace text style.

See Also:
Constant Field Values

BUILTIN_OPERATOR_STYLE

public static final java.lang.String BUILTIN_OPERATOR_STYLE
Name of the base operator text style.

See Also:
Constant Field Values

BUILTIN_MARKUP_STYLE

public static final java.lang.String BUILTIN_MARKUP_STYLE
Name of base markup symbol text style.

See Also:
Constant Field Values

BUILTIN_ELEMENT_STYLE

public static final java.lang.String BUILTIN_ELEMENT_STYLE
Name of base element name text style.

See Also:
Constant Field Values

BUILTIN_ATTRIBUTE_NAME_STYLE

public static final java.lang.String BUILTIN_ATTRIBUTE_NAME_STYLE
Name of base attribute name text style.

See Also:
Constant Field Values

BUILTIN_ATTRIBUTE_VALUE_STYLE

public static final java.lang.String BUILTIN_ATTRIBUTE_VALUE_STYLE
Name of base attribute value text style.

See Also:
Constant Field Values

STYLE_NAMES

public static final java.lang.String[] STYLE_NAMES
The name of all the styles defined here.


plainStyle

public BaseStyle plainStyle
The base plain text style.


commentStyle

public BaseStyle commentStyle
The base comment style.


keywordStyle

public BaseStyle keywordStyle
The base keyword style.


stringStyle

public BaseStyle stringStyle
The base string style.


numberStyle

public BaseStyle numberStyle
The base number style.


identifierStyle

public BaseStyle identifierStyle
The base identifier style.


braceStyle

public BaseStyle braceStyle
The base brace style.


operatorStyle

public BaseStyle operatorStyle
The base operator style.


markupStyle

public BaseStyle markupStyle
The base markup symbol style.


elementStyle

public BaseStyle elementStyle
The base element name style.


attributeNameStyle

public BaseStyle attributeNameStyle
The base attribute name style.


attributeValueStyle

public BaseStyle attributeValueStyle
The base attribute value style.

Constructor Detail

BuiltInStyles

public BuiltInStyles(StyleRegistry styleRegistry)
Creates a BuiltInStyles instance based on the styles in the given style registry.

Parameters:
styleRegistry - the style registry to pre-initialize this Styles instance with
Method Detail

reloadStyles

public void reloadStyles(StyleRegistry styleRegistry)
Reloads the built in styles from the provided style registry. If the styles have not been created in the style registry, they will be created at this time.

Parameters:
styleRegistry - the style registry to reload our styles from

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.