Skip navigation links


com.essbase.eas.ui.editor.settings
Class EditorSettings

java.lang.Object
  extended by com.essbase.eas.ui.editor.settings.EditorSettings


public class EditorSettings
extends java.lang.Object

Field Summary
static java.lang.String COMMENT1
           
static java.lang.String COMMENT2
           
static SyntaxStyle defStyle
           
static java.lang.String INVALID
           
static java.lang.String KEYWORD1
           
static java.lang.String KEYWORD2
           
static java.lang.String KEYWORD3
           
static java.lang.String LABEL
           
static java.lang.String LINEWRAP
           
static java.lang.String LITERAL1
           
static java.lang.String LITERAL2
           
static java.lang.String NUMBER
           
static java.lang.String OPERATOR
           
static java.lang.String TABSIZE
           
static java.lang.String WORDWRAP
           

 

Constructor Summary
EditorSettings()
           

 

Method Summary
static void addListener(java.lang.Object obj)
           
static java.lang.String getColorHexString(java.awt.Color c)
           
static java.lang.String getProperty(java.lang.String key)
           
static SyntaxStyle[] getStyles()
           
static SyntaxStyle getStyles(int id)
           
static java.lang.String getStyleString(java.awt.Color clr, boolean bold, boolean italic)
           
static java.lang.String getStyleString(SyntaxStyle style)
           
static java.awt.Color parseColor(java.lang.String name)
           
static SyntaxStyle parseStyle(java.lang.String str)
           
static void removeListener(java.lang.Object obj)
           
static void saveSettings()
           
static void setDefault()
           
static void setProperty(java.lang.String key, java.lang.String value)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

COMMENT1

public static final java.lang.String COMMENT1
See Also:
Constant Field Values

COMMENT2

public static final java.lang.String COMMENT2
See Also:
Constant Field Values

KEYWORD1

public static final java.lang.String KEYWORD1
See Also:
Constant Field Values

KEYWORD2

public static final java.lang.String KEYWORD2
See Also:
Constant Field Values

KEYWORD3

public static final java.lang.String KEYWORD3
See Also:
Constant Field Values

LITERAL1

public static final java.lang.String LITERAL1
See Also:
Constant Field Values

LITERAL2

public static final java.lang.String LITERAL2
See Also:
Constant Field Values

OPERATOR

public static final java.lang.String OPERATOR
See Also:
Constant Field Values

NUMBER

public static final java.lang.String NUMBER
See Also:
Constant Field Values

INVALID

public static final java.lang.String INVALID
See Also:
Constant Field Values

LABEL

public static final java.lang.String LABEL
See Also:
Constant Field Values

TABSIZE

public static final java.lang.String TABSIZE
See Also:
Constant Field Values

LINEWRAP

public static final java.lang.String LINEWRAP
See Also:
Constant Field Values

WORDWRAP

public static final java.lang.String WORDWRAP
See Also:
Constant Field Values

defStyle

public static final SyntaxStyle defStyle

Constructor Detail

EditorSettings

public EditorSettings()

Method Detail

getProperty

public static java.lang.String getProperty(java.lang.String key)

setProperty

public static void setProperty(java.lang.String key,
                               java.lang.String value)

setDefault

public static void setDefault()

saveSettings

public static void saveSettings()

addListener

public static void addListener(java.lang.Object obj)

removeListener

public static void removeListener(java.lang.Object obj)

getStyles

public static SyntaxStyle[] getStyles()

getStyles

public static SyntaxStyle getStyles(int id)

getStyleString

public static java.lang.String getStyleString(java.awt.Color clr,
                                              boolean bold,
                                              boolean italic)

getColorHexString

public static java.lang.String getColorHexString(java.awt.Color c)

getStyleString

public static java.lang.String getStyleString(SyntaxStyle style)

parseColor

public static java.awt.Color parseColor(java.lang.String name)

parseStyle

public static SyntaxStyle parseStyle(java.lang.String str)
                              throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.