kaos.kpat.gui.hypertext
Class HTProperty
java.lang.Object
kaos.kpat.gui.hypertext.HTComponentImpl
kaos.kpat.gui.hypertext.HypertextContainerImpl
kaos.kpat.gui.hypertext.HTProperty
- All Implemented Interfaces:
- HyperlinkListener, HypertextComponent, HypertextContainer, HypertextListener
public class HTProperty
- extends HypertextContainerImpl
Fields inherited from class kaos.kpat.gui.hypertext.HTComponentImpl |
_displayComponent, _id, _listeners, _peer, _popup, _prefix, _suffix, _templateEditor, _templateLinkId, _templateLinkName, TEMPLATE_LINK_ID, VISITED_LINK_RGB |
Methods inherited from class kaos.kpat.gui.hypertext.HypertextContainerImpl |
addComponent, addComponent, containsComponent, getComponentAt, getComponentCount, getComponentForLink, getComponentForTemplateLink, getText, hyperlinkSelected, removeComponent, removeComponentAt, setHyperlinkInterceptor, setTemplateLink, textChanged |
Methods inherited from class kaos.kpat.gui.hypertext.HTComponentImpl |
addListener, fireTextChanged, getDisplayComponent, getDisplayText, getId, getParent, getPopupMenu, getPrefix, getRelativeLocation, getTemplateLink, removeListener, setDlgLocation, setFontSize, setId, setParent, setPeer, setPopupMenu, setSuffix |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface kaos.kpat.gui.hypertext.HypertextComponent |
addListener, getDisplayComponent, getDisplayText, getId, getParent, getPrefix, getTemplateLink, removeListener, setParent, setPeer, setSuffix |
ALL_CLASS_RESTRICTION
public static final java.lang.String ALL_CLASS_RESTRICTION
- See Also:
- Constant Field Values
SOME_CLASS_RESTRICTION
public static final java.lang.String SOME_CLASS_RESTRICTION
- See Also:
- Constant Field Values
CLASS_SELECTION
public static final java.lang.String CLASS_SELECTION
- See Also:
- Constant Field Values
INSTANCE_SELECTION
public static final java.lang.String INSTANCE_SELECTION
- See Also:
- Constant Field Values
COMPLEMENT_SELECTION
public static final java.lang.String COMPLEMENT_SELECTION
- See Also:
- Constant Field Values
_classProps
public ClassPropertiesContainer _classProps
PROPERTY_NAME
public static final java.lang.String PROPERTY_NAME
- See Also:
- Constant Field Values
ROLE_VALUE_MAP
public static final java.lang.String ROLE_VALUE_MAP
- See Also:
- Constant Field Values
RES_TYPE
public static final java.lang.String RES_TYPE
- See Also:
- Constant Field Values
IS_CLASS
public static final java.lang.String IS_CLASS
- See Also:
- Constant Field Values
IS_COMPLEMENT
public static final java.lang.String IS_COMPLEMENT
- See Also:
- Constant Field Values
VALUES
public static final java.lang.String VALUES
- See Also:
- Constant Field Values
CLASS_PROPS
public static final java.lang.String CLASS_PROPS
- See Also:
- Constant Field Values
_propertyBox
protected HTComboBox _propertyBox
_restrictionBox
protected HTComboBox _restrictionBox
_classInstanceBox
protected HTComboBox _classInstanceBox
_classValueBox
protected HTComboBox _classValueBox
_instanceSet
protected HypertextSet _instanceSet
_tcd
public OntClassPropertyDescription _tcd
HTProperty
public HTProperty(OntologyService ontServ,
java.lang.String ontType)
HTProperty
public HTProperty(OntologyService ontServ,
java.lang.String ontType,
boolean instanceMode)
setupInstanceBoxForEditing
public static void setupInstanceBoxForEditing(HTComboBox comboBox,
TunnelClient tc,
HTProperty.StringContainer parentClass)
setPrefix
public void setPrefix(java.lang.String prefix)
- Specified by:
setPrefix
in interface HypertextComponent
- Overrides:
setPrefix
in class HTComponentImpl
getState
public java.lang.Object getState()
throws KAoSPolicyBuilder.PolicyBuildingNotCompleted
- Specified by:
getState
in interface HypertextComponent
- Overrides:
getState
in class HTComponentImpl
- Throws:
KAoSPolicyBuilder.PolicyBuildingNotCompleted
setState
public void setState(java.lang.Object o)
- Specified by:
setState
in interface HypertextComponent
- Overrides:
setState
in class HTComponentImpl
setTemplateEditor
public void setTemplateEditor(HypertextEditor editor)
- Specified by:
setTemplateEditor
in interface HypertextComponent
- Overrides:
setTemplateEditor
in class HypertextContainerImpl
setRVMEnabled
public void setRVMEnabled(boolean enabled)
getRoleValueMap
public KAoSRoleValueMap getRoleValueMap()
throws KAoSPolicyBuilder.PolicyBuildingNotCompleted
- Throws:
KAoSPolicyBuilder.PolicyBuildingNotCompleted
setPeerRVMCoordinator
public void setPeerRVMCoordinator(HTPeerRVMCoordinator coordinator)
rvmChanged
public void rvmChanged(java.lang.String updateType,
java.lang.Object obj)
setActionTypeForRVMProperty
public void setActionTypeForRVMProperty(java.lang.String actionType)
setTarget
public void setTarget(OntClassPropertyDescription tcd)
getCustomPropertyEditor
public HTPropertyEditor getCustomPropertyEditor()
setSelectedProperty
public void setSelectedProperty(java.lang.String name,
java.lang.String resType,
boolean isClass,
boolean complement,
java.util.Vector values)
getName
public java.lang.String getName()
checkIsValid
public void checkIsValid()
throws KAoSPolicyBuilder.PolicyBuildingNotCompleted
- Throws:
KAoSPolicyBuilder.PolicyBuildingNotCompleted
isXMLDatatype
public boolean isXMLDatatype()
isClass
public boolean isClass()
isInstance
public boolean isInstance()
isComplement
public boolean isComplement()
getRestricitionType
public java.lang.String getRestricitionType()
getValues
public java.util.Set getValues()
throws KAoSPolicyBuilder.PolicyBuildingNotCompleted
- Throws:
KAoSPolicyBuilder.PolicyBuildingNotCompleted
getSchema
public XMLSchemaBuilderImpl getSchema()
getXMLSchemaRestriction
public XMLSchemaRestriction getXMLSchemaRestriction()
setAddEmptyValue
public void setAddEmptyValue(boolean addEmptyValue)
setValues
public void setValues(java.util.List<OntClassPropertyDescription> tcds)
setDisplayComponent
public void setDisplayComponent(java.awt.Component c)
- Specified by:
setDisplayComponent
in interface HypertextComponent
- Overrides:
setDisplayComponent
in class HypertextContainerImpl
getTCD
public OntClassPropertyDescription getTCD()
setRoleValueMap
public void setRoleValueMap(KAoSRoleValueMap rvm)
isRoleValueMap
public boolean isRoleValueMap()