|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cosylab.vdct.vdb.VDBPort
public class VDBPort
RO property of port represented on HL (template instance is parent)
Field Summary | |
---|---|
protected java.lang.String |
comment
|
protected static java.lang.String |
defaultDescription
|
protected java.lang.String |
description
|
protected java.lang.String |
name
|
protected java.lang.String |
target
|
protected int |
visibility
|
protected Port |
visibleObject
|
Fields inherited from interface com.cosylab.vdct.inspector.InspectableProperty |
---|
ALWAYS_VISIBLE, NEVER_VISIBLE, NON_DEFAULT_VISIBLE, UNDEFINED_VISIBILITY |
Constructor Summary | |
---|---|
VDBPort(VDBTemplate template,
DBPort port)
Insert the method's description here. |
|
VDBPort(VDBTemplate template,
java.lang.String name,
java.lang.String target,
java.lang.String description)
Insert the method's description here. |
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.lang.String |
getComment()
Returns the comment. |
java.lang.String |
getDescription()
Sets the target. |
java.util.regex.Pattern |
getEditPattern()
Insert the method's description here. |
java.lang.String |
getFullName()
Returns the name. |
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 |
getName()
Returns the name. |
java.lang.String |
getPortDefinition(java.lang.String templateInstanceName)
Returns port name |
java.lang.String |
getRealDescription()
Returns the description. |
java.lang.String[] |
getSelectableValues()
Insert the method's description here. |
java.lang.String |
getTarget()
Returns the target. |
VDBTemplate |
getTemplate()
Returns the template. |
java.lang.String |
getToolTipText()
Insert the method's description here. |
int |
getType()
Returns type of the source (INPUT, OUTPUT, FORWARD, PORT or MACRO). |
java.lang.String |
getValue()
Returns link target. |
int |
getVisibility()
Insert the method's description here. |
Port |
getVisibleObject()
Returns the visibleObject. |
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 |
setComment(java.lang.String comment)
Sets the comment. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setTemplate(VDBTemplate template)
Sets the template. |
void |
setValue(java.lang.String value)
Sets (value of )the link target. |
void |
setValueSilently(java.lang.String newValue)
Insert the method's description here. |
void |
setVisibility(int visibility)
Insert the method's description here. |
void |
setVisibleObject(Port visibleObject)
Sets the visibleObject. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String target
protected java.lang.String description
protected java.lang.String comment
protected static java.lang.String defaultDescription
protected int visibility
protected Port visibleObject
Constructor Detail |
---|
public VDBPort(VDBTemplate template, DBPort port)
public VDBPort(VDBTemplate template, java.lang.String name, java.lang.String target, java.lang.String description)
Method Detail |
---|
public java.lang.String getName()
getName
in interface InspectableProperty
public java.lang.String getFullName()
getFullName
in interface LinkSource
public java.lang.String getTarget()
public void setName(java.lang.String name)
name
- The name to setpublic java.lang.String getDescription()
getDescription
in interface Descriptable
target
- The target to set
public java.lang.String getRealDescription()
public void setDescription(java.lang.String description)
setDescription
in interface Descriptable
description
- The description to setpublic java.lang.String getPortDefinition(java.lang.String templateInstanceName)
templateInstanceName
- The name of the template instancepublic java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- The comment to setpublic boolean allowsOtherValues()
InspectableProperty
allowsOtherValues
in interface InspectableProperty
InspectableProperty.allowsOtherValues()
public java.util.regex.Pattern getEditPattern()
InspectableProperty
getEditPattern
in interface InspectableProperty
InspectableProperty.getEditPattern()
public java.lang.String getHelp()
InspectableProperty
getHelp
in interface InspectableProperty
InspectableProperty.getHelp()
public java.lang.String getInitValue()
InspectableProperty
getInitValue
in interface InspectableProperty
InspectableProperty.getInitValue()
public java.lang.String[] getSelectableValues()
InspectableProperty
getSelectableValues
in interface InspectableProperty
InspectableProperty.getSelectableValues()
public java.lang.String getToolTipText()
InspectableProperty
getToolTipText
in interface InspectableProperty
InspectableProperty.getToolTipText()
public java.lang.String getValue()
LinkSource
getValue
in interface LinkSource
getValue
in interface InspectableProperty
InspectableProperty.getValue()
public int getVisibility()
InspectableProperty
getVisibility
in interface InspectableProperty
InspectableProperty.getVisibility()
public boolean isEditable()
InspectableProperty
isEditable
in interface InspectableProperty
InspectableProperty.isEditable()
public boolean isSeparator()
InspectableProperty
isSeparator
in interface InspectableProperty
InspectableProperty.isSeparator()
public boolean isValid()
InspectableProperty
isValid
in interface InspectableProperty
InspectableProperty.isValid()
public void popupEvent(java.awt.Component component, int x, int y)
InspectableProperty
popupEvent
in interface InspectableProperty
InspectableProperty.popupEvent(Component, int, int)
public void setValueSilently(java.lang.String newValue)
setValueSilently
in interface LinkSource
newValue
- java.lang.Stringpublic void setValue(java.lang.String value)
LinkSource
setValue
in interface LinkSource
setValue
in interface InspectableProperty
value
- java.lang.StringInspectableProperty.setValue(String)
public VDBTemplate getTemplate()
public void setTemplate(VDBTemplate template)
template
- The template to setpublic void setVisibility(int visibility)
ChangableVisibility
setVisibility
in interface ChangableVisibility
ChangableVisibility.setVisibility(int)
public int getType()
LinkSource
getType
in interface LinkSource
LinkSource.getType()
public Port getVisibleObject()
public void setVisibleObject(Port visibleObject)
visibleObject
- The visibleObject to setpublic boolean hasDefaultValue()
hasDefaultValue
in interface InspectableProperty
public boolean hasValidity()
hasValidity
in interface InspectableProperty
public java.lang.String checkValueValidity(java.lang.String value)
InspectableProperty
checkValueValidity
in interface InspectableProperty
public java.lang.Integer getGuiGroup()
InspectableProperty
getGuiGroup
in interface InspectableProperty
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |