|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.option.OptionItem y.option.ObjectOptionItem y.option.StringBasedOptionItem y.option.StringOptionItem
public class StringOptionItem
An option item for Strings.
Field Summary | |
---|---|
static java.lang.String |
ATTRIBUTE_COLUMNS
Attribute key used to store an editor hint specifying how many columns the editor should have. |
static java.lang.String |
ATTRIBUTE_POPUP_COLUMNS
|
static java.lang.String |
ATTRIBUTE_POPUP_ROWS
|
static java.lang.String |
ATTRIBUTE_ROWS
Attribute key used to store an editor hint specifying how many rows the editor should have. |
Fields inherited from class y.option.StringBasedOptionItem |
---|
ATTRIBUTE_CONVERTER, PROPERTY_CONVERTER |
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 | |
---|---|
StringOptionItem(java.lang.String name,
java.lang.String value)
Creates a new instance of StringOptionItem. |
|
StringOptionItem(java.lang.String name,
java.lang.String value,
int rows)
Creates a new instance of StringOptionItem. |
Method Summary | |
---|---|
int |
getRows()
Deprecated. Use getAttribute( ATTRIBUTE_ROWS ) instead. |
Methods inherited from class y.option.StringBasedOptionItem |
---|
getConverter, getStringValue, getType, setConverter, setStringValue, setValue |
Methods inherited from class y.option.ObjectOptionItem |
---|
getBackupValue, getValue, resetValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ATTRIBUTE_ROWS
Integer
and positive.
public static final java.lang.String ATTRIBUTE_COLUMNS
Integer
and positive.
public static final java.lang.String ATTRIBUTE_POPUP_ROWS
public static final java.lang.String ATTRIBUTE_POPUP_COLUMNS
Constructor Detail |
---|
public StringOptionItem(java.lang.String name, java.lang.String value, int rows)
name
- the name of the itemvalue
- the initial value of the itemrows
- the number of text rows of the option editor.public StringOptionItem(java.lang.String name, java.lang.String value)
name
- the name of the itemvalue
- the initial value of the itemMethod Detail |
---|
public int getRows()
getAttribute( ATTRIBUTE_ROWS )
instead.
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |