Package com.cosylab.vdct.vdb
Class NameProperty
- java.lang.Object
-
- com.cosylab.vdct.vdb.NameValueInfoProperty
-
- com.cosylab.vdct.vdb.NameProperty
-
- All Implemented Interfaces:
InspectableProperty
public class NameProperty extends NameValueInfoProperty
An InspectableProperties interface for editing names.- Author:
- ssah
-
-
Field Summary
-
Fields inherited from class com.cosylab.vdct.vdb.NameValueInfoProperty
name, value
-
Fields inherited from interface com.cosylab.vdct.inspector.InspectableProperty
ALWAYS_VISIBLE, NEVER_VISIBLE, NON_DEFAULT_VISIBLE, UNDEFINED_VISIBILITY
-
-
Constructor Summary
Constructors Constructor Description NameProperty(String name, Inspectable namedObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcheckValueValidity(String value)Returns null if this value is valid, else the error message.StringgetHelp()Insert the method's description here.StringgetToolTipText()Insert the method's description here.booleanhasValidity()booleanisEditable()Insert the method's description here.booleanisValid()Insert the method's description here.voidsetValue(String value)Insert the method's description here.-
Methods inherited from class com.cosylab.vdct.vdb.NameValueInfoProperty
allowsOtherValues, getEditPattern, getGuiGroup, getInitValue, getName, getSelectableValues, getValue, getVisibility, hasDefaultValue, isSeparator, popupEvent
-
-
-
-
Constructor Detail
-
NameProperty
public NameProperty(String name, Inspectable namedObject)
- Parameters:
name- namenamedObject- namedObject
-
-
Method Detail
-
getHelp
public String getHelp()
Description copied from class:NameValueInfoPropertyInsert the method's description here. Creation date: (1.2.2001 22:49:33)- Specified by:
getHelpin interfaceInspectableProperty- Overrides:
getHelpin classNameValueInfoProperty- Returns:
- java.lang.String
-
setValue
public void setValue(String value)
Description copied from class:NameValueInfoPropertyInsert the method's description here. Creation date: (1.2.2001 22:49:33)- Specified by:
setValuein interfaceInspectableProperty- Overrides:
setValuein classNameValueInfoProperty- Parameters:
value- java.lang.String
-
isValid
public boolean isValid()
Description copied from class:NameValueInfoPropertyInsert the method's description here. Creation date: (11.1.2001 21:28:51)- Specified by:
isValidin interfaceInspectableProperty- Overrides:
isValidin classNameValueInfoProperty- Returns:
- boolean
-
isEditable
public boolean isEditable()
Description copied from class:NameValueInfoPropertyInsert the method's description here. Creation date: (1.2.2001 22:49:33)- Specified by:
isEditablein interfaceInspectableProperty- Overrides:
isEditablein classNameValueInfoProperty- Returns:
- boolean
-
hasValidity
public boolean hasValidity()
- Specified by:
hasValidityin interfaceInspectableProperty- Overrides:
hasValidityin classNameValueInfoProperty- Returns:
- something
-
checkValueValidity
public String checkValueValidity(String value)
Description copied from interface:InspectablePropertyReturns null if this value is valid, else the error message.- Specified by:
checkValueValidityin interfaceInspectableProperty- Overrides:
checkValueValidityin classNameValueInfoProperty- Parameters:
value- value- Returns:
- something
-
getToolTipText
public String getToolTipText()
Description copied from class:NameValueInfoPropertyInsert the method's description here. Creation date: (24/8/99 15:29:04)- Specified by:
getToolTipTextin interfaceInspectableProperty- Overrides:
getToolTipTextin classNameValueInfoProperty- Returns:
- java.lang.String
-
-