public class OdsxInstanceEditorPaneValue extends FwkDialogPaneValue
,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected ApplicationElement |
ae |
protected java.util.Vector |
arr |
protected java.util.HashMap |
attrs |
protected boolean |
baseAttrsOnly |
protected java.util.HashMap |
editable |
protected InstanceElement |
ie |
protected OdsxRelationEditorInterface[] |
relationEditors |
getHt, ident, propertyChange, setHt, version| Constructor and Description |
|---|
OdsxInstanceEditorPaneValue(ApplicationElement ae)
The construtor receiving the application element.
|
OdsxInstanceEditorPaneValue(InstanceElement ie)
The construtor receiving the instance element.
|
OdsxInstanceEditorPaneValue(OdsxPresentableElementInterface elem)
The construtor receiving the presentable element.
|
OdsxInstanceEditorPaneValue(java.lang.String ident,
ApplicationElement ae)
The construtor receiving the application element.
|
OdsxInstanceEditorPaneValue(java.lang.String ident,
ApplicationElement ae,
boolean baseAttrsOnly)
The construtor receiving the application element.
|
OdsxInstanceEditorPaneValue(java.lang.String ident,
InstanceElement ie)
The construtor receiving the instance element.
|
OdsxInstanceEditorPaneValue(java.lang.String ident,
InstanceElement ie,
boolean baseAttrsOnly)
The construtor receiving the instance element.
|
OdsxInstanceEditorPaneValue(java.lang.String ident,
OdsxPresentableElementInterface elem)
The construtor receiving the presentable element.
|
OdsxInstanceEditorPaneValue(java.lang.String ident,
OdsxPresentableElementInterface elem,
boolean baseAttrsOnly)
The construtor receiving the presentable element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyRelationEditorsSettings()
Apply relation editor settings.
|
void |
applyRelationEditorsSettings(InstanceElement ieObj)
Apply relation editor settings.
|
ApplicationElement |
getApplicationElement()
Get the application element.
|
boolean |
getBaseAttributesOnly()
Get the flag that base attribute are available only.
|
InstanceElement |
getInstanceElement()
Get the instance elements.
|
java.util.Iterator |
getProperties()
Retrieves a iterator the the keya of the property map
that holds the editable properties of the pane value.
|
java.lang.Object |
getProperty(java.lang.String propertyName)
Retrieves the property that belongs to the specified property name.
|
protected void |
initialize() |
protected void |
initialize(java.lang.String ident,
ApplicationElement ae)
The initializer for ASAM ODS application elements.
|
protected void |
initialize(java.lang.String ident,
InstanceElement ie)
The initializer for ASAM ODS instance elements.
|
boolean |
isApplicationElement()
Return a boolean whether the element is build on a application element.
|
boolean |
isEditable(java.lang.String propertyName)
Inquire the editable state of the given property.
|
boolean |
isInstanceElement()
Return a boolean whether the element is build on a instance element.
|
static void |
main(java.lang.String[] args)
The Main Body to test the class.
|
void |
setBaseAttributesOnly(boolean flag)
Set the flag that base attribute are available only.
|
void |
setEditable(java.lang.String propertyName,
boolean flag)
Sets the editable state of the given property.
|
void |
setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Sets the property that belongs to the specified identifier.
|
void |
setRelationEditors(OdsxRelationEditorInterface[] relationEditors)
Set relation editors.
|
int |
size()
Get the size of hold attributes.
|
addPropertyChangeListener, addPropertyChangeListener, entrySet, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getIdent, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, getVersion, isPropertyChangeEventSuspended, release, removePropertyChangeListener, removePropertyChangeListener, setIdent, setProperties, setSource, suspendPropertyChangeEvents, toStringclear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, valuesprotected boolean baseAttrsOnly
protected InstanceElement ie
protected ApplicationElement ae
protected java.util.HashMap attrs
protected java.util.HashMap editable
protected java.util.Vector arr
protected OdsxRelationEditorInterface[] relationEditors
public OdsxInstanceEditorPaneValue(OdsxPresentableElementInterface elem)
elem - The presentable element belongs to the value.public OdsxInstanceEditorPaneValue(java.lang.String ident,
OdsxPresentableElementInterface elem)
ident - the ident of the value.elem - The presentable element belongs to the value.public OdsxInstanceEditorPaneValue(java.lang.String ident,
OdsxPresentableElementInterface elem,
boolean baseAttrsOnly)
ident - the ident of the value.elem - The presentable element belongs to the value.baseAttrsOnly - if true the base attribute will be ready only.public OdsxInstanceEditorPaneValue(InstanceElement ie)
ie - The instance element belongs to the value.public OdsxInstanceEditorPaneValue(java.lang.String ident,
InstanceElement ie)
ident - the ident of the value.ie - The instance element belongs to the value.public OdsxInstanceEditorPaneValue(java.lang.String ident,
InstanceElement ie,
boolean baseAttrsOnly)
ident - the ident of the value.ie - The instance element belongs to the value.baseAttrsOnly - if true the base attribute will be ready only.public OdsxInstanceEditorPaneValue(ApplicationElement ae)
ie - The application element belongs to the value.public OdsxInstanceEditorPaneValue(java.lang.String ident,
ApplicationElement ae)
ident - the ident of the value.ie - The application element belongs to the value.public OdsxInstanceEditorPaneValue(java.lang.String ident,
ApplicationElement ae,
boolean baseAttrsOnly)
ident - the ident of the value.ie - The application element belongs to the value.baseAttrsOnly - if true the base attribute will be ready only.protected void initialize(java.lang.String ident,
InstanceElement ie)
ident - The ident of the value.ie - The instance element belongs to the value.protected void initialize(java.lang.String ident,
ApplicationElement ae)
ident - The ident of the value.ae - The application element belongs to the value.protected void initialize()
public InstanceElement getInstanceElement()
getApplicationElement()public void setRelationEditors(OdsxRelationEditorInterface[] relationEditors)
public void applyRelationEditorsSettings()
throws java.lang.Exception
java.lang.Exceptionpublic void applyRelationEditorsSettings(InstanceElement ieObj) throws java.lang.Exception
java.lang.Exceptionpublic boolean isInstanceElement()
public ApplicationElement getApplicationElement()
getInstanceElement()public boolean isApplicationElement()
public void setBaseAttributesOnly(boolean flag)
flag - if true the base attributes are available only.public boolean getBaseAttributesOnly()
public int size()
size in interface java.util.Mapsize in class java.util.AbstractMappublic boolean isEditable(java.lang.String propertyName)
propertyName - The name name of the property.public void setEditable(java.lang.String propertyName,
boolean flag)
propertyName - The name name of the property.flag - true if the property should be editable.public void setProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
setProperty in interface FwkDialogPaneValueInterfacesetProperty in class FwkDialogPaneValuepropertyName - The name name of the property.propertyValue - The new value of the property.public java.util.Iterator getProperties()
getProperties in interface FwkDialogPaneValueInterfacegetProperties in class FwkDialogPaneValuepublic java.lang.Object getProperty(java.lang.String propertyName)
getProperty in interface FwkDialogPaneValueInterfacegetProperty in class FwkDialogPaneValuepropertyName - The name name of the property.public static void main(java.lang.String[] args)