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 String
checkValueValidity(String value)
Returns null if this value is valid, else the error message.String
getHelp()
Insert the method's description here.String
getToolTipText()
Insert the method's description here.boolean
hasValidity()
boolean
isEditable()
Insert the method's description here.boolean
isValid()
Insert the method's description here.void
setValue(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:NameValueInfoProperty
Insert the method's description here. Creation date: (1.2.2001 22:49:33)- Specified by:
getHelp
in interfaceInspectableProperty
- Overrides:
getHelp
in classNameValueInfoProperty
- Returns:
- java.lang.String
-
setValue
public void setValue(String value)
Description copied from class:NameValueInfoProperty
Insert the method's description here. Creation date: (1.2.2001 22:49:33)- Specified by:
setValue
in interfaceInspectableProperty
- Overrides:
setValue
in classNameValueInfoProperty
- Parameters:
value
- java.lang.String
-
isValid
public boolean isValid()
Description copied from class:NameValueInfoProperty
Insert the method's description here. Creation date: (11.1.2001 21:28:51)- Specified by:
isValid
in interfaceInspectableProperty
- Overrides:
isValid
in classNameValueInfoProperty
- Returns:
- boolean
-
isEditable
public boolean isEditable()
Description copied from class:NameValueInfoProperty
Insert the method's description here. Creation date: (1.2.2001 22:49:33)- Specified by:
isEditable
in interfaceInspectableProperty
- Overrides:
isEditable
in classNameValueInfoProperty
- Returns:
- boolean
-
hasValidity
public boolean hasValidity()
- Specified by:
hasValidity
in interfaceInspectableProperty
- Overrides:
hasValidity
in classNameValueInfoProperty
- Returns:
- something
-
checkValueValidity
public String checkValueValidity(String value)
Description copied from interface:InspectableProperty
Returns null if this value is valid, else the error message.- Specified by:
checkValueValidity
in interfaceInspectableProperty
- Overrides:
checkValueValidity
in classNameValueInfoProperty
- Parameters:
value
- value- Returns:
- something
-
getToolTipText
public String getToolTipText()
Description copied from class:NameValueInfoProperty
Insert the method's description here. Creation date: (24/8/99 15:29:04)- Specified by:
getToolTipText
in interfaceInspectableProperty
- Overrides:
getToolTipText
in classNameValueInfoProperty
- Returns:
- java.lang.String
-
-