Package com.cosylab.vdct.inspector.sheet
Class SplitPropertyPart
- java.lang.Object
-
- com.cosylab.vdct.inspector.sheet.SplitPropertyPart
-
- All Implemented Interfaces:
InspectableProperty
public class SplitPropertyPart extends 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
Constructors Constructor Description SplitPropertyPart(int partIndex, SplitPropertyGroup owner, String value, String initValue, String lead, boolean editable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowsOtherValues()
Insert the method's description here.String
checkValueValidity(String value)
Returns null if this value is valid, else the error message.Pattern
getEditPattern()
Insert the method's description here.Integer
getGuiGroup()
Returns the gui group index as an Integer or null if no gui group info available.String
getHelp()
Insert the method's description here.String
getInitValue()
Insert the method's description here.String
getLead()
String
getName()
Insert the method's description here.SplitPropertyGroup
getOwner()
int
getPartIndex()
String[]
getSelectableValues()
Insert the method's description here.String
getToolTipText()
Insert the method's description here.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(Component component, int x, int y)
Insert the method's description here.void
setValue(String value)
Insert the method's description here.
-
-
-
Constructor Detail
-
SplitPropertyPart
public SplitPropertyPart(int partIndex, SplitPropertyGroup owner, String value, String initValue, String lead, boolean editable)
- Parameters:
partIndex
- partIndexowner
- ownervalue
- valueinitValue
- initValuelead
- leadeditable
- 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 interfaceInspectableProperty
- Returns:
- boolean
-
getEditPattern
public 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 interfaceInspectableProperty
- Returns:
- java.lang.String
-
getHelp
public 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 interfaceInspectableProperty
- Returns:
- java.lang.String
-
getInitValue
public 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 interfaceInspectableProperty
- Returns:
- java.lang.String
-
getName
public 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 interfaceInspectableProperty
- Returns:
- java.lang.String
-
getSelectableValues
public 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 interfaceInspectableProperty
- Returns:
- java.lang.String[]
-
getToolTipText
public 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 interfaceInspectableProperty
- Returns:
- java.lang.String
-
getValue
public 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 interfaceInspectableProperty
- 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 interfaceInspectableProperty
- 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 interfaceInspectableProperty
- 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 interfaceInspectableProperty
- 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 interfaceInspectableProperty
- Returns:
- boolean
-
popupEvent
public void popupEvent(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 interfaceInspectableProperty
- Parameters:
component
- java.awt.Componentx
- xy
- y
-
setValue
public void setValue(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 interfaceInspectableProperty
- Parameters:
value
- java.lang.String
-
getPartIndex
public int getPartIndex()
- Returns:
- the partIndex
-
getLead
public String getLead()
- Returns:
- the lead
-
getOwner
public SplitPropertyGroup getOwner()
- Returns:
- the owner
-
hasDefaultValue
public boolean hasDefaultValue()
- Specified by:
hasDefaultValue
in interfaceInspectableProperty
- Returns:
- something
-
hasValidity
public boolean hasValidity()
- Specified by:
hasValidity
in interfaceInspectableProperty
- 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
- Parameters:
value
- value- Returns:
- something
-
getGuiGroup
public 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 interfaceInspectableProperty
- Returns:
- something
-
-