|
||||||||||
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.KiemPropertyTypeBool
public class KiemPropertyTypeBool
The Class KiemPropertyTypeBool.
Constructor Summary | |
---|---|
KiemPropertyTypeBool()
Instantiates a new KiemPropertyTypeBool. |
Method Summary | |
---|---|
Object |
getValue(KiemProperty property)
This method bridges boolean values (encoded as Strings in property) to int of the combobox cell editor. |
static boolean |
getValueAsBoolean(KiemProperty property)
Gets the value as a boolean. |
CellEditor |
provideCellEditor(Composite parent)
Provides a cell editor of this KiemPropertyType. |
Image |
provideIcon()
Provide an icon Image for this KiemPropertyType. |
static void |
setValue(KiemProperty property,
boolean value)
Gets the value as a boolean. |
void |
setValue(KiemProperty property,
Object value)
This method bridges boolean values (encoded as Strings in property) to int of the combobox cell editor. |
Methods inherited from class de.cau.cs.kieler.sim.kiem.properties.KiemPropertyType |
---|
getCellEditor, getIcon, getId, setCellEditor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KiemPropertyTypeBool()
Method Detail |
---|
public CellEditor provideCellEditor(Composite parent)
KiemPropertyType
provideCellEditor
in class KiemPropertyType
parent
- the parent SWT composite that holds the Cell Editor
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 boolean getValueAsBoolean(KiemProperty property)
property
- the KiemProperty
public static void setValue(KiemProperty property, boolean value)
property
- the KiemPropertyvalue
- 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 |