|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fife.ui.rsyntaxtextarea.templates.AbstractCodeTemplate
A base class to build code templates on top of.
| Constructor Summary | |
AbstractCodeTemplate()
This no-arg constructor is required for serialization purposes. |
|
AbstractCodeTemplate(java.lang.String id)
Creates a new template. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates a deep copy of this template. |
int |
compareTo(java.lang.Object o)
Compares the StaticCodeTemplate to another. |
boolean |
equals(java.lang.Object obj)
Overridden to return " true" iff compareTo(Object)
returns 0. |
java.lang.String |
getID()
Returns the ID of this code template. |
int |
hashCode()
Returns the hash code for this template. |
void |
setID(java.lang.String id)
Sets the ID for this template. |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.fife.ui.rsyntaxtextarea.templates.CodeTemplate |
invoke |
| Constructor Detail |
public AbstractCodeTemplate()
public AbstractCodeTemplate(java.lang.String id)
id - The ID for this template.
java.lang.IllegalArgumentException - If id is null.| Method Detail |
public java.lang.Object clone()
clone in interface CodeTemplatepublic int compareTo(java.lang.Object o)
StaticCodeTemplate to another.
compareTo in interface java.lang.Comparableo - Another StaticCodeTemplate object.
java.lang.ClassCastException - If o is
not an instance of CodeTemplate.public boolean equals(java.lang.Object obj)
true" iff compareTo(Object)
returns 0.
public java.lang.String getID()
getID in interface CodeTemplatesetID(String)public int hashCode()
public void setID(java.lang.String id)
id - The ID for this template.
java.lang.IllegalArgumentException - If id is null.getID()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||