|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.sim.kiem.config.data.EditorDefinition
public class EditorDefinition
Definition class for the editor. Contains the name of the editor and an editor id.
Constructor Summary | |
---|---|
EditorDefinition(String newName,
EditorIdWrapper newEditorId)
Create a new definition. |
Method Summary | |
---|---|
int |
compareTo(EditorDefinition o)
Compares this with another Object. |
boolean |
equals(Object o)
|
static EditorDefinition |
fromString(String input)
Parse a new definition from an input string created by a toSerialString() call. |
EditorIdWrapper |
getEditorId()
Returns the editor id belonging to this editor. |
String |
getName()
Getter for the editor name. |
int |
hashCode()
|
boolean |
isLocked()
Getter for the isLocked. |
void |
setLocked(boolean isLockedParam)
Setter for the isLocked. |
boolean |
supports(EditorIdWrapper anotherId)
Determines if the given editor id is supported by this definition. |
boolean |
supports(String anotherEditorId)
Determines if the given editor id is supported by this definition. |
String |
toSerialString()
Construct a String for Serialization. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EditorDefinition(String newName, EditorIdWrapper newEditorId)
newName
- the name of the new definition.newEditorId
- the id of the editor.Method Detail |
---|
public EditorIdWrapper getEditorId()
public String getName()
public boolean isLocked()
public void setLocked(boolean isLockedParam)
isLockedParam
- the isLocked to setpublic boolean supports(EditorIdWrapper anotherId)
anotherId
- the id to look for.
public boolean supports(String anotherEditorId)
anotherEditorId
- the id to look for.
public static EditorDefinition fromString(String input)
input
- the input string
public String toSerialString()
public String toString()
toString
in class Object
public int compareTo(EditorDefinition o)
compareTo
in interface Comparable<EditorDefinition>
o
- the object to compare with
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |