|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.option.OptionItem
y.option.ObjectOptionItem
public class ObjectOptionItem
General purpose option item that can be used as a base class for custom option item classes.

| Field Summary |
|---|
| Fields inherited from class y.option.OptionItem |
|---|
ATTRIBUTE_CONTEXT, ATTRIBUTE_GROUPS, ATTRIBUTE_LONG_DESCRIPTION, COLOR_UNDEFINED, name, PROPERTY_CLASS_TYPE, PROPERTY_ENABLED, PROPERTY_TIP_TEXT, PROPERTY_VALUE, PROPERTY_VALUE_UNDEFINED, UNDEFINED |
| Constructor Summary | |
|---|---|
ObjectOptionItem(java.lang.String name,
java.lang.Object value)
Creates a new instance of ObjectOptionItem. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getBackupValue()
Returns the backup value of this item. |
java.lang.String |
getType()
Returns "Object". |
java.lang.Object |
getValue()
Returns the value of this item. |
void |
resetValue()
Resets the value of this item to the backup value. |
void |
setValue(java.lang.Object value)
Sets the value of this item. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectOptionItem(java.lang.String name,
java.lang.Object value)
name - the name of the itemvalue - the initial value of the item| Method Detail |
|---|
public java.lang.String getType()
getType in class OptionItempublic java.lang.Object getValue()
getValue in class OptionItempublic void setValue(java.lang.Object value)
setValue in class OptionItemOptionItem.publishValue(Object)public void resetValue()
resetValue in class OptionItemOptionItem.publishValue(Object)public java.lang.Object getBackupValue()
getBackupValue in interface BackupValueOwner
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||