|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SyntaxPreset>
com.alee.extended.syntax.SyntaxPreset
public enum SyntaxPreset
Custom settings presets for WebSyntaxArea.
Enum Constant Summary | |
---|---|
base
|
|
css
|
|
darkTheme
|
|
eclipseTheme
|
|
editable
|
|
hideMenu
|
|
historyLimit
|
|
html
|
|
ideaTheme
|
|
java
|
|
js
|
|
margin
|
|
none
|
|
opaque
|
|
php
|
|
size
|
|
sql
|
|
transparent
|
|
viewable
|
|
vsTheme
|
|
xml
|
Method Summary | |
---|---|
abstract void |
apply(WebSyntaxArea syntaxArea)
Applies syntax preset to the specified WebSyntaxArea. |
static SyntaxPreset |
getSyntaxPreset(java.io.File file)
Returns syntax preset for the specified file. |
static SyntaxPreset |
getSyntaxPreset(java.lang.String file)
Returns syntax preset for the specified file name. |
PresetType |
getType()
Returns SyntaxPreset type. |
static SyntaxPreset |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SyntaxPreset[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SyntaxPreset base
public static final SyntaxPreset size
public static final SyntaxPreset margin
public static final SyntaxPreset historyLimit
public static final SyntaxPreset viewable
public static final SyntaxPreset editable
public static final SyntaxPreset hideMenu
public static final SyntaxPreset transparent
public static final SyntaxPreset opaque
public static final SyntaxPreset java
public static final SyntaxPreset xml
public static final SyntaxPreset html
public static final SyntaxPreset css
public static final SyntaxPreset js
public static final SyntaxPreset php
public static final SyntaxPreset sql
public static final SyntaxPreset none
public static final SyntaxPreset ideaTheme
public static final SyntaxPreset darkTheme
public static final SyntaxPreset vsTheme
public static final SyntaxPreset eclipseTheme
Method Detail |
---|
public static SyntaxPreset[] values()
for (SyntaxPreset c : SyntaxPreset.values()) System.out.println(c);
public static SyntaxPreset valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic PresetType getType()
public abstract void apply(WebSyntaxArea syntaxArea)
syntaxArea
- WebSyntaxAreapublic static SyntaxPreset getSyntaxPreset(java.io.File file)
file
- file
public static SyntaxPreset getSyntaxPreset(java.lang.String file)
file
- file name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |