Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.javatools.editor.language
Class BuiltInStyles

java.lang.Object
  extended by oracle.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 additionStyle
          The base addition style.
 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_ADDITION_STYLE
          Name of base attribute addition text 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_HEADER_STYLE
          Name of base attribute header 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_LF_STYLE
          Name of the base Look&Feel 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_REMOVAL_STYLE
          Name of base attribute removal 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 headerStyle
          The base header style.
 BaseStyle identifierStyle
          The base identifier style.
 BaseStyle keywordStyle
          The base keyword style.
 BaseStyle lfStyle
          The base look and feel 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 removalStyle
          The base removal 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_LF_STYLE

public static final java.lang.String BUILTIN_LF_STYLE
Name of the base Look&Feel style. This is the default for the L&F for TextArea.background and TextArea.foreground. This allows us to pull in the OS defaults (i.e., under Windows) for background and foreground.
See Also:
Constant Field Values

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

BUILTIN_HEADER_STYLE

public static final java.lang.String BUILTIN_HEADER_STYLE
Name of base attribute header text style.
See Also:
Constant Field Values

BUILTIN_ADDITION_STYLE

public static final java.lang.String BUILTIN_ADDITION_STYLE
Name of base attribute addition text style.
See Also:
Constant Field Values

BUILTIN_REMOVAL_STYLE

public static final java.lang.String BUILTIN_REMOVAL_STYLE
Name of base attribute removal 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.

lfStyle

public BaseStyle lfStyle
The base look and feel style.

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.

headerStyle

public BaseStyle headerStyle
The base header style.

additionStyle

public BaseStyle additionStyle
The base addition style.

removalStyle

public BaseStyle removalStyle
The base removal 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

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


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