Package com.cosylab.vdct.vdb
Class VDBTemplateMacro
- java.lang.Object
-
- com.cosylab.vdct.vdb.VDBFieldData
-
- com.cosylab.vdct.vdb.VDBTemplateMacro
-
- All Implemented Interfaces:
Debuggable,Descriptable,LinkSource,ChangableVisibility,InspectableProperty
public class VDBTemplateMacro extends VDBFieldData implements Descriptable, ChangableVisibility
- Author:
- Matej
-
-
Field Summary
Fields Modifier and Type Field Description protected VDBMacromacroprotected VDBTemplateInstancetemplateInstanceprotected intvisibility-
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 VDBTemplateMacro(VDBTemplateInstance templateInstance, VDBMacro macro)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Insert the method's description here.PatterngetEditPattern()Insert the method's description here.StringgetFullName()Insert the method's description here.StringgetHelp()Insert the method's description here.StringgetInitValue()Insert the method's description here.VDBMacrogetMacro()Returns the macro.StringgetName()Insert the method's description here.String[]getSelectableValues()Insert the method's description here.VDBTemplateInstancegetTemplateInstance()Returns the templateInstance.StringgetToolTipText()Insert the method's description here.intgetType()Insert the method's description here.StringgetValue()Insert the method's description here.intgetVisibility()Insert the method's description here.booleanhasDefaultValue()Insert the method's description here.booleanisEditable()Insert the method's description here.booleanisValid()Insert the method's description here.voidsetDescription(String description)Insert the method's description here.voidsetMacro(VDBMacro macro)Sets the macro.voidsetValue(String newValue)Insert the method's description here.voidsetValueSilently(String newValue)Insert the method's description here.voidsetVisibility(int visibility)Sets the visibility.StringtoString()Insert the method's description here.voidupdateInspector()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
-
-
-
-
Field Detail
-
macro
protected VDBMacro macro
-
templateInstance
protected VDBTemplateInstance templateInstance
-
visibility
protected int visibility
-
-
Constructor Detail
-
VDBTemplateMacro
public VDBTemplateMacro(VDBTemplateInstance templateInstance, VDBMacro macro)
- Parameters:
templateInstance- templateInstancemacro- macro
-
-
Method Detail
-
toString
public String toString()
Insert the method's description here. Creation date: (1.2.2001 12:11:29)- Overrides:
toStringin 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:
getNamein interfaceInspectableProperty- Overrides:
getNamein 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:
getFullNamein interfaceDebuggable- Specified by:
getFullNamein interfaceLinkSource- Overrides:
getFullNamein 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:
getVisibilityin interfaceInspectableProperty- Overrides:
getVisibilityin classVDBFieldData- Returns:
- int
-
setVisibility
public void setVisibility(int visibility)
Sets the visibility.- Specified by:
setVisibilityin interfaceChangableVisibility- Overrides:
setVisibilityin 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:
getHelpin interfaceInspectableProperty- Overrides:
getHelpin classVDBFieldData- Returns:
- java.lang.String
-
getDescription
public String getDescription()
Description copied from interface:DescriptableInsert the method's description here. Creation date: (9.4.2001 13:11:19)- Specified by:
getDescriptionin interfaceDescriptable- Returns:
- java.lang.String
- See Also:
Descriptable.getDescription()
-
setDescription
public void setDescription(String description)
Description copied from interface:DescriptableInsert the method's description here. Creation date: (24.4.2001 17:39:35)- Specified by:
setDescriptionin interfaceDescriptable- Parameters:
description- java.lang.String- See Also:
Descriptable.setDescription(String)
-
getTemplateInstance
public VDBTemplateInstance getTemplateInstance()
Returns the templateInstance.- Returns:
- VDBTemplateInstance
-
updateInspector
public void updateInspector()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Overrides:
updateInspectorin classVDBFieldData
-
getMacro
public VDBMacro getMacro()
Returns the macro.- Returns:
- VDBmacro
-
setMacro
public void setMacro(VDBMacro macro)
Sets the macro.- Parameters:
macro- The macro to set
-
getToolTipText
public String getToolTipText()
Insert the method's description here. Creation date: (24/8/99 15:29:04)- Specified by:
getToolTipTextin interfaceInspectableProperty- Overrides:
getToolTipTextin classVDBFieldData- Returns:
- something
-
getEditPattern
public Pattern getEditPattern()
Insert the method's description here. Creation date: (24/8/99 15:29:04)- Specified by:
getEditPatternin interfaceInspectableProperty- Overrides:
getEditPatternin 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:
isValidin interfaceInspectableProperty- Overrides:
isValidin classVDBFieldData- Returns:
- boolean
-
getSelectableValues
public String[] getSelectableValues()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)- Specified by:
getSelectableValuesin interfaceInspectableProperty- Overrides:
getSelectableValuesin classVDBFieldData- Returns:
- java.lang.String[]
-
isEditable
public boolean isEditable()
Description copied from class:VDBFieldDataInsert the method's description here. Creation date: (11.1.2001 21:47:04)- Specified by:
isEditablein interfaceInspectableProperty- Overrides:
isEditablein 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:
getInitValuein interfaceInspectableProperty- Overrides:
getInitValuein 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:
hasDefaultValuein interfaceInspectableProperty- Overrides:
hasDefaultValuein classVDBFieldData- Returns:
- boolean
-
setValue
public void setValue(String newValue)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
setValuein interfaceInspectableProperty- Specified by:
setValuein interfaceLinkSource- Overrides:
setValuein classVDBFieldData- Parameters:
newValue- java.lang.String
-
setValueSilently
public void setValueSilently(String newValue)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
setValueSilentlyin interfaceLinkSource- Overrides:
setValueSilentlyin 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:
getValuein interfaceInspectableProperty- Specified by:
getValuein interfaceLinkSource- Overrides:
getValuein classVDBFieldData- Returns:
- java.lang.String
-
getType
public int getType()
Description copied from class:VDBFieldDataInsert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
getTypein interfaceLinkSource- Overrides:
getTypein classVDBFieldData- Returns:
- something
- See Also:
LinkSource.getType()
-
-