com.cosylab.vdct.inspector.sheet
Class SplitPropertyPart

java.lang.Object
  extended by com.cosylab.vdct.inspector.sheet.SplitPropertyPart
All Implemented Interfaces:
InspectableProperty

public class SplitPropertyPart
extends java.lang.Object
implements InspectableProperty

Author:
ssah

Field Summary
 
Fields inherited from interface com.cosylab.vdct.inspector.InspectableProperty
ALWAYS_VISIBLE, NEVER_VISIBLE, NON_DEFAULT_VISIBLE, UNDEFINED_VISIBILITY
 
Constructor Summary
SplitPropertyPart(int partIndex, SplitPropertyGroup owner, java.lang.String value, java.lang.String initValue, java.lang.String lead, boolean editable)
           
 
Method Summary
 boolean allowsOtherValues()
          Insert the method's description here.
 java.lang.String checkValueValidity(java.lang.String value)
          Returns null if this value is valid, else the error message.
 java.util.regex.Pattern getEditPattern()
          Insert the method's description here.
 java.lang.Integer getGuiGroup()
          Returns the gui group index as an Integer or null if no gui group info available.
 java.lang.String getHelp()
          Insert the method's description here.
 java.lang.String getInitValue()
          Insert the method's description here.
 java.lang.String getLead()
           
 java.lang.String getName()
          Insert the method's description here.
 SplitPropertyGroup getOwner()
           
 int getPartIndex()
           
 java.lang.String[] getSelectableValues()
          Insert the method's description here.
 java.lang.String getToolTipText()
          Insert the method's description here.
 java.lang.String getValue()
          Insert the method's description here.
 int getVisibility()
          Insert the method's description here.
 boolean hasDefaultValue()
           
 boolean hasValidity()
           
 boolean isEditable()
          Insert the method's description here.
 boolean isSeparator()
          Insert the method's description here.
 boolean isValid()
          Insert the method's description here.
 void popupEvent(java.awt.Component component, int x, int y)
          Insert the method's description here.
 void setValue(java.lang.String value)
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitPropertyPart

public SplitPropertyPart(int partIndex,
                         SplitPropertyGroup owner,
                         java.lang.String value,
                         java.lang.String initValue,
                         java.lang.String lead,
                         boolean editable)
Parameters:
partIndex -
owner -
value -
initValue -
lead -
editable -
Method Detail

allowsOtherValues

public boolean allowsOtherValues()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:34:58)

Specified by:
allowsOtherValues in interface InspectableProperty
Returns:
boolean

getEditPattern

public java.util.regex.Pattern getEditPattern()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:30:04)

Specified by:
getEditPattern in interface InspectableProperty
Returns:
java.lang.String

getHelp

public java.lang.String getHelp()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (26.1.2001 15:01:28)

Specified by:
getHelp in interface InspectableProperty
Returns:
java.lang.String

getInitValue

public java.lang.String getInitValue()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:29:48)

Specified by:
getInitValue in interface InspectableProperty
Returns:
java.lang.String

getName

public java.lang.String getName()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:54:12)

Specified by:
getName in interface InspectableProperty
Returns:
java.lang.String

getSelectableValues

public java.lang.String[] getSelectableValues()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:36:10)

Specified by:
getSelectableValues in interface InspectableProperty
Returns:
java.lang.String[]

getToolTipText

public java.lang.String getToolTipText()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:30:04)

Specified by:
getToolTipText in interface InspectableProperty
Returns:
java.lang.String

getValue

public java.lang.String getValue()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:29:48)

Specified by:
getValue in interface InspectableProperty
Returns:
java.lang.String

getVisibility

public int getVisibility()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:30:04)

Specified by:
getVisibility in interface InspectableProperty
Returns:
int

isEditable

public boolean isEditable()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:28:51)

Specified by:
isEditable in interface InspectableProperty
Returns:
boolean

isSeparator

public boolean isSeparator()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:44:32)

Specified by:
isSeparator in interface InspectableProperty
Returns:
boolean

isValid

public boolean isValid()
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:28:51)

Specified by:
isValid in interface InspectableProperty
Returns:
boolean

popupEvent

public void popupEvent(java.awt.Component component,
                       int x,
                       int y)
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:30:04)

Specified by:
popupEvent in interface InspectableProperty

setValue

public void setValue(java.lang.String value)
Description copied from interface: InspectableProperty
Insert the method's description here. Creation date: (11.1.2001 21:30:04)

Specified by:
setValue in interface InspectableProperty
Parameters:
value - java.lang.String

getPartIndex

public int getPartIndex()
Returns:
the partIndex

getLead

public java.lang.String getLead()
Returns:
the lead

getOwner

public SplitPropertyGroup getOwner()
Returns:
the owner

hasDefaultValue

public boolean hasDefaultValue()
Specified by:
hasDefaultValue in interface InspectableProperty

hasValidity

public boolean hasValidity()
Specified by:
hasValidity in interface InspectableProperty

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
Returns:

getGuiGroup

public java.lang.Integer getGuiGroup()
Description copied from interface: InspectableProperty
Returns the gui group index as an Integer or null if no gui group info available.

Specified by:
getGuiGroup in interface InspectableProperty
Returns: