com.cosylab.vdct.vdb
Class VDBTemplateMacro

java.lang.Object
  extended by com.cosylab.vdct.vdb.VDBFieldData
      extended by 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
protected  VDBMacro macro
           
protected  VDBTemplateInstance templateInstance
           
protected  int visibility
           
 
Fields inherited from class com.cosylab.vdct.vdb.VDBFieldData
comment, connected, dbdData, debugValue, debugValueTimeStamp, GUI_type, 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
VDBTemplateMacro(VDBTemplateInstance templateInstance, VDBMacro macro)
           
 
Method Summary
 java.lang.String getDescription()
          Insert the method's description here.
 java.util.regex.Pattern getEditPattern()
          Insert the method's description here.
 java.lang.String getFullName()
          Insert the method's description here.
 java.lang.String getHelp()
          Insert the method's description here.
 java.lang.String getInitValue()
          Insert the method's description here.
 VDBMacro getMacro()
          Returns the macro.
 java.lang.String getName()
          Insert the method's description here.
 java.lang.String[] getSelectableValues()
          Insert the method's description here.
 VDBTemplateInstance getTemplateInstance()
          Returns the templateInstance.
 java.lang.String getToolTipText()
          Insert the method's description here.
 int getType()
          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()
          Insert the method's description here.
 boolean isEditable()
          Insert the method's description here.
 boolean isValid()
          Insert the method's description here.
 void setDescription(java.lang.String description)
          Insert the method's description here.
 void setMacro(VDBMacro macro)
          Sets the macro.
 void setValue(java.lang.String newValue)
          Insert the method's description here.
 void setValueSilently(java.lang.String newValue)
          Insert the method's description here.
 void setVisibility(int visibility)
          Sets the visibility.
 java.lang.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_type, getGuiGroup, getInit_value, getPositionIndex, getRecord, getSeverity, hasValidity, initialize, isConnected, isSeparator, popupEvent, setComment, setConnected, setDbdData, setDebugValue, setGUI_type, setInit_value, setName, setPositionIndex, setRecord, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

macro

protected VDBMacro macro

templateInstance

protected VDBTemplateInstance templateInstance

visibility

protected int visibility
Constructor Detail

VDBTemplateMacro

public VDBTemplateMacro(VDBTemplateInstance templateInstance,
                        VDBMacro macro)
Method Detail

toString

public java.lang.String toString()
Insert the method's description here. Creation date: (1.2.2001 12:11:29)

Overrides:
toString in class VDBFieldData
Returns:
java.lang.String

getName

public java.lang.String getName()
Insert the method's description here. Creation date: (1.2.2001 12:11:29)

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

getFullName

public java.lang.String getFullName()
Insert the method's description here. Creation date: (1.2.2001 12:11:29)

Specified by:
getFullName in interface Debuggable
Specified by:
getFullName in interface LinkSource
Overrides:
getFullName in class VDBFieldData
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 interface InspectableProperty
Overrides:
getVisibility in class VDBFieldData
Returns:
int

setVisibility

public void setVisibility(int visibility)
Sets the visibility.

Specified by:
setVisibility in interface ChangableVisibility
Overrides:
setVisibility in class VDBFieldData
Parameters:
visibility - The visibility to set

getHelp

public java.lang.String getHelp()
Insert the method's description here. Creation date: (26.1.2001 15:03:07)

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

getDescription

public java.lang.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 interface Descriptable
Returns:
java.lang.String
See Also:
Descriptable.getDescription()

setDescription

public void setDescription(java.lang.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 interface Descriptable
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:
updateInspector in class VDBFieldData

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 java.lang.String getToolTipText()
Insert the method's description here. Creation date: (24/8/99 15:29:04)

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

getEditPattern

public java.util.regex.Pattern getEditPattern()
Insert the method's description here. Creation date: (24/8/99 15:29:04)

Specified by:
getEditPattern in interface InspectableProperty
Overrides:
getEditPattern in class VDBFieldData
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 interface InspectableProperty
Overrides:
isValid in class VDBFieldData
Returns:
boolean

getSelectableValues

public java.lang.String[] getSelectableValues()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)

Specified by:
getSelectableValues in interface InspectableProperty
Overrides:
getSelectableValues in class VDBFieldData
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 interface InspectableProperty
Overrides:
isEditable in class VDBFieldData
Returns:
boolean
See Also:
InspectableProperty.isEditable()

getInitValue

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

Specified by:
getInitValue in interface InspectableProperty
Overrides:
getInitValue in class VDBFieldData
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 interface InspectableProperty
Overrides:
hasDefaultValue in class VDBFieldData
Returns:
boolean

setValue

public void setValue(java.lang.String newValue)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)

Specified by:
setValue in interface LinkSource
Specified by:
setValue in interface InspectableProperty
Overrides:
setValue in class VDBFieldData
Parameters:
newValue - java.lang.String

setValueSilently

public void setValueSilently(java.lang.String newValue)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)

Specified by:
setValueSilently in interface LinkSource
Overrides:
setValueSilently in class VDBFieldData
Parameters:
newValue - java.lang.String

getValue

public java.lang.String getValue()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)

Specified by:
getValue in interface LinkSource
Specified by:
getValue in interface InspectableProperty
Overrides:
getValue in class VDBFieldData
Returns:
java.lang.String

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 interface LinkSource
Overrides:
getType in class VDBFieldData
Returns:
int
See Also:
LinkSource.getType()