|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.sim.kiem.properties.KiemPropertyType
de.cau.cs.kieler.sim.kiem.properties.KiemPropertyTypeInt
public class KiemPropertyTypeInt
This implements a sample KiemPropertyType for an integer type.
Constructor Summary | |
---|---|
KiemPropertyTypeInt()
Instantiates a new KiemPropertyType int. |
Method Summary | |
---|---|
Object |
getValue(KiemProperty property)
This method bridges integer values (encoded as Strings in property) to Strings of the string cell editor. |
static int |
getValueAsInt(KiemProperty property)
Gets the value as int. |
Image |
provideIcon()
Provide an icon Image for this KiemPropertyType. |
static void |
setValue(KiemProperty property,
int value)
Sets the value. |
void |
setValue(KiemProperty property,
Object value)
This method bridges integer values (encoded as Strings in property) to Strings of the string cell editor. |
Methods inherited from class de.cau.cs.kieler.sim.kiem.properties.KiemPropertyType |
---|
getCellEditor, getIcon, getId, provideCellEditor, setCellEditor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KiemPropertyTypeInt()
Method Detail |
---|
public Object getValue(KiemProperty property)
getValue
in interface IKiemPropertyType
property
- the KiemProperty that this type operates on
public void setValue(KiemProperty property, Object value)
setValue
in interface IKiemPropertyType
property
- the KiemProperty that this type operates onvalue
- the value of the property with the type depending on the cell editorpublic static int getValueAsInt(KiemProperty property)
property
- the property
public static void setValue(KiemProperty property, int value)
property
- the propertyvalue
- the valuepublic Image provideIcon()
KiemPropertyType
provideIcon
in class KiemPropertyType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |