com.cosylab.vdct.vdb
Class NameProperty

java.lang.Object
  extended by com.cosylab.vdct.vdb.NameValueInfoProperty
      extended by 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
NameProperty(java.lang.String name, Inspectable namedObject)
           
 
Method Summary
 java.lang.String checkValueValidity(java.lang.String value)
          Returns null if this value is valid, else the error message.
 java.lang.String getHelp()
          Insert the method's description here.
 java.lang.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(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameProperty

public NameProperty(java.lang.String name,
                    Inspectable namedObject)
Parameters:
name -
value -
Method Detail

getHelp

public java.lang.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 interface InspectableProperty
Overrides:
getHelp in class NameValueInfoProperty
Returns:
java.lang.String

setValue

public void setValue(java.lang.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 interface InspectableProperty
Overrides:
setValue in class NameValueInfoProperty
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 interface InspectableProperty
Overrides:
isValid in class NameValueInfoProperty
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 interface InspectableProperty
Overrides:
isEditable in class NameValueInfoProperty
Returns:
boolean

hasValidity

public boolean hasValidity()
Specified by:
hasValidity in interface InspectableProperty
Overrides:
hasValidity in class NameValueInfoProperty

checkValueValidity

public java.lang.String checkValueValidity(java.lang.String value)
Description copied from interface: InspectableProperty
Returns null if this value is valid, else the error message.

Specified by:
checkValueValidity in interface InspectableProperty
Overrides:
checkValueValidity in class NameValueInfoProperty
Returns:

getToolTipText

public java.lang.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 interface InspectableProperty
Overrides:
getToolTipText in class NameValueInfoProperty
Returns:
java.lang.String