|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jext.Mode
public class Mode
Mode represents a syntax colorizing mode.
This class holds the mode name and its correpsonding
syntax colorizing toke marker.
| Field Summary | |
|---|---|
protected java.lang.String |
className
|
protected java.lang.String |
modeName
|
protected java.lang.String |
userModeName
|
| Constructor Summary | |
|---|---|
Mode(java.lang.String modeName)
Creates a new syntax colorizing mode defined by its name. |
|
| Method Summary | |
|---|---|
void |
addPlugin(Plugin plugin)
Registers a plugin with this mode. |
protected void |
finalize()
Patch -> Memory management improvements : it may help the garbage collector. |
java.lang.String |
getModeName()
Returns the internal mode name. |
java.util.ArrayList |
getPlugins()
Returns all the plugins associated to this mode. |
TokenMarker |
getTokenMarker()
Returns the associated toke marker which is used to colorize the text. |
java.lang.String |
getUserModeName()
Returns the user mode name. |
void |
setPlugins(java.util.ArrayList newPlugins)
Sets associated plugins. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String modeName
protected java.lang.String userModeName
protected java.lang.String className
| Constructor Detail |
|---|
public Mode(java.lang.String modeName)
modeName - The internal mode name| Method Detail |
|---|
public java.lang.String getModeName()
public java.lang.String getUserModeName()
public TokenMarker getTokenMarker()
public void addPlugin(Plugin plugin)
plugin - The Plugin to registerpublic java.util.ArrayList getPlugins()
public void setPlugins(java.util.ArrayList newPlugins)
newPlugins - The associated Plugins
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||