Package com.cosylab.vdct.vdb
Class VDBTemplatePort
- java.lang.Object
-
- com.cosylab.vdct.vdb.VDBFieldData
-
- com.cosylab.vdct.vdb.VDBTemplatePort
-
- All Implemented Interfaces:
Debuggable
,Descriptable
,LinkSource
,ChangableVisibility
,InspectableProperty
public class VDBTemplatePort extends VDBFieldData implements Descriptable, ChangableVisibility
- Author:
- Matej
-
-
Field Summary
Fields Modifier and Type Field Description protected VDBPort
port
protected VDBTemplateInstance
templateInstance
protected int
visibility
-
Fields inherited from class com.cosylab.vdct.vdb.VDBFieldData
comment, connected, dbdData, debugValue, debugValueTimeStamp, gui_group, init_value, name, record, severity, type, value
-
Fields inherited from interface com.cosylab.vdct.inspector.InspectableProperty
ALWAYS_VISIBLE, NEVER_VISIBLE, NON_DEFAULT_VISIBLE, UNDEFINED_VISIBILITY
-
-
Constructor Summary
Constructors Constructor Description VDBTemplatePort(VDBTemplateInstance templateInstance, VDBPort port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Insert the method's description here.Pattern
getEditPattern()
Insert the method's description here.String
getFullName()
Insert the method's description here.String
getHelp()
Insert the method's description here.String
getInitValue()
Insert the method's description here.String
getName()
Insert the method's description here.VDBPort
getPort()
Returns the port.String[]
getSelectableValues()
Insert the method's description here.VDBTemplateInstance
getTemplateInstance()
Returns the templateInstance.String
getToolTipText()
Insert the method's description here.int
getType()
Insert the method's description here.String
getValue()
Insert the method's description here.int
getVisibility()
Insert the method's description here.boolean
hasDefaultValue()
Insert the method's description here.boolean
isEditable()
Insert the method's description here.boolean
isValid()
Insert the method's description here.void
setDebugValue(String newValue)
Insert the method's description here.void
setDescription(String description)
Insert the method's description here.void
setPort(VDBPort port)
Sets the port.void
setValue(String newValue)
Insert the method's description here.void
setVisibility(int visibility)
Sets the visibility.String
toString()
Insert the method's description here.void
updateInspector()
Insert the method's description here.-
Methods inherited from class com.cosylab.vdct.vdb.VDBFieldData
allowsOtherValues, checkValueValidity, getComment, getDbdData, getDebugValueTimeStamp, getDsId, getGui_group, getGuiGroup, getInit_value, getPositionIndex, getRecord, getSeverity, hasValidity, initialize, isConnected, isSeparator, popupEvent, setComment, setConnected, setDbdData, setDebugValue, setGui_group, setInit_value, setName, setPositionIndex, setRecord, setType, setValueSilently
-
-
-
-
Field Detail
-
port
protected VDBPort port
-
templateInstance
protected VDBTemplateInstance templateInstance
-
visibility
protected int visibility
-
-
Constructor Detail
-
VDBTemplatePort
public VDBTemplatePort(VDBTemplateInstance templateInstance, VDBPort port)
- Parameters:
templateInstance
- templateInstanceport
- port
-
-
Method Detail
-
toString
public String toString()
Insert the method's description here. Creation date: (1.2.2001 12:11:29)- Overrides:
toString
in classVDBFieldData
- Returns:
- java.lang.String
-
getName
public String getName()
Insert the method's description here. Creation date: (1.2.2001 12:11:29)- Specified by:
getName
in interfaceInspectableProperty
- Overrides:
getName
in classVDBFieldData
- Returns:
- java.lang.String
-
getFullName
public String getFullName()
Insert the method's description here. Creation date: (1.2.2001 12:11:29)- Specified by:
getFullName
in interfaceDebuggable
- Specified by:
getFullName
in interfaceLinkSource
- Overrides:
getFullName
in classVDBFieldData
- Returns:
- java.lang.String
-
getVisibility
public int getVisibility()
Insert the method's description here. Creation date: (11.1.2001 21:30:04)- Specified by:
getVisibility
in interfaceInspectableProperty
- Overrides:
getVisibility
in classVDBFieldData
- Returns:
- int
-
setVisibility
public void setVisibility(int visibility)
Sets the visibility.- Specified by:
setVisibility
in interfaceChangableVisibility
- Overrides:
setVisibility
in classVDBFieldData
- Parameters:
visibility
- The visibility to set
-
getHelp
public String getHelp()
Insert the method's description here. Creation date: (26.1.2001 15:03:07)- Specified by:
getHelp
in interfaceInspectableProperty
- Overrides:
getHelp
in classVDBFieldData
- Returns:
- java.lang.String
-
getDescription
public String getDescription()
Description copied from interface:Descriptable
Insert the method's description here. Creation date: (9.4.2001 13:11:19)- Specified by:
getDescription
in interfaceDescriptable
- Returns:
- java.lang.String
- See Also:
Descriptable.getDescription()
-
setDescription
public void setDescription(String description)
Description copied from interface:Descriptable
Insert the method's description here. Creation date: (24.4.2001 17:39:35)- Specified by:
setDescription
in interfaceDescriptable
- Parameters:
description
- java.lang.String- See Also:
Descriptable.setDescription(String)
-
getTemplateInstance
public VDBTemplateInstance getTemplateInstance()
Returns the templateInstance.- Returns:
- VDBTemplateInstance
-
setDebugValue
public void setDebugValue(String newValue)
Insert the method's description here. Creation date: (7.12.2001 19:13:20)- Parameters:
newValue
- java.lang.String
-
setValue
public void setValue(String newValue)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
setValue
in interfaceInspectableProperty
- Specified by:
setValue
in interfaceLinkSource
- Overrides:
setValue
in classVDBFieldData
- Parameters:
newValue
- java.lang.String
-
getValue
public String getValue()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
getValue
in interfaceInspectableProperty
- Specified by:
getValue
in interfaceLinkSource
- Overrides:
getValue
in classVDBFieldData
- Returns:
- java.lang.String
-
updateInspector
public void updateInspector()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Overrides:
updateInspector
in classVDBFieldData
-
getPort
public VDBPort getPort()
Returns the port.- Returns:
- VDBPort
-
setPort
public void setPort(VDBPort port)
Sets the port.- Parameters:
port
- The port to set
-
getToolTipText
public String getToolTipText()
Insert the method's description here. Creation date: (24/8/99 15:29:04)- Specified by:
getToolTipText
in interfaceInspectableProperty
- Overrides:
getToolTipText
in classVDBFieldData
- Returns:
- something
-
getEditPattern
public Pattern getEditPattern()
Insert the method's description here. Creation date: (24/8/99 15:29:04)- Specified by:
getEditPattern
in interfaceInspectableProperty
- Overrides:
getEditPattern
in classVDBFieldData
- Returns:
- java.util.regex.Pattern
-
isValid
public boolean isValid()
Insert the method's description here. Creation date: (11.1.2001 21:28:51)- Specified by:
isValid
in interfaceInspectableProperty
- Overrides:
isValid
in classVDBFieldData
- Returns:
- boolean
-
getSelectableValues
public String[] getSelectableValues()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)- Specified by:
getSelectableValues
in interfaceInspectableProperty
- Overrides:
getSelectableValues
in classVDBFieldData
- Returns:
- java.lang.String[]
-
isEditable
public boolean isEditable()
Description copied from class:VDBFieldData
Insert the method's description here. Creation date: (11.1.2001 21:47:04)- Specified by:
isEditable
in interfaceInspectableProperty
- Overrides:
isEditable
in classVDBFieldData
- Returns:
- something
- See Also:
InspectableProperty.isEditable()
-
getInitValue
public String getInitValue()
Insert the method's description here. Creation date: (11.1.2001 21:29:48)- Specified by:
getInitValue
in interfaceInspectableProperty
- Overrides:
getInitValue
in classVDBFieldData
- Returns:
- java.lang.String
-
hasDefaultValue
public boolean hasDefaultValue()
Insert the method's description here. Creation date: (27.1.2001 16:08:45)- Specified by:
hasDefaultValue
in interfaceInspectableProperty
- Overrides:
hasDefaultValue
in classVDBFieldData
- Returns:
- boolean
-
getType
public int getType()
Description copied from class:VDBFieldData
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
getType
in interfaceLinkSource
- Overrides:
getType
in classVDBFieldData
- Returns:
- something
- See Also:
LinkSource.getType()
-
-