|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.ug2t.unifiedGui.UnComponentProxy
public class UnComponentProxy
| Field Summary |
|---|
| Fields inherited from interface de.ug2t.unifiedGui.interfaces.IUnComponent |
|---|
CURSOR_CROSSHAIR, CURSOR_HAND, CURSOR_MOVE, CURSOR_POINTER, CURSOR_WAIT, EVENT_LATENCY_MOVE, EVENT_LATENCY_RESIZE, EVENT_LATENCY_SCROLL, IMG_ALIGN_CENTER, IMG_ALIGN_NORTH, IMG_ALIGN_SOUTH, INSETS_BORDER, LINE_BORDER, NO_BORDER, OUTSETS_BORDER, TEXT_ALIGN_CENTER, TEXT_ALIGN_EAST, TEXT_ALIGN_WEST |
| Constructor Summary | |
|---|---|
UnComponentProxy(java.lang.String xRefName)
|
|
| Method Summary | |
|---|---|
KeTreeElement |
addElement(java.lang.String xName,
KeTreeElement xNode)
Adds a child-elelemt into this node. |
KeTreeElement |
addElement(java.lang.String xName,
KeTreeElement xNode,
int xIdx)
Adds a child-element into this node at a given index. |
KeTreeElement |
addElement(java.lang.String xName,
KeTreeElement xNode,
KeTreeElement xBehind)
Adds a child-element into this node behind a given child-node or child-element. |
KeTreeElement |
addElementLocal(java.lang.String xName,
KeTreeElement xNode)
Adds a child-elelemt into this node. |
void |
addEventChannel(IUnEventChannel xEvC)
Adds an event channel to the widget. |
void |
addIndirectListener(IUnGuiEventListener xListener)
Adds an indirect listener to the widget. |
void |
addListener(IUnGuiEventListener xListener)
Adds a listener to the widget. |
KeTreeNode |
addNode(java.lang.String xName,
KeTreeNode xNode)
Adds a child-node into this node. |
KeTreeNode |
addNode(java.lang.String xName,
KeTreeNode xNode,
int xIdx)
Adds a child-node into this node at a given index. |
KeTreeNode |
addNode(java.lang.String xName,
KeTreeNode xNode,
KeTreeElement xBehind)
Adds a child-node into this node behind a given child-node or child-element. |
KeTreeNode |
addNodeLocal(java.lang.String xName,
KeTreeNode xNode)
Adds a child-node into this node. |
void |
addPostFct(IUnPostDisplayFunction xXpostFct)
Adds a post-display function to the widget. |
void |
addPreFct(IUnPreDisplayFunction xXpreFct)
Adds a pre-display function to the widget. |
void |
addPropertyChangedListener(IKePropertyChangeListener xListen)
Adds a property changed listener. |
void |
clear()
Deletes the (sub)tree which is represented by this node, but excludes this node and all subtrees of this node are kept alive |
void |
clearAndRelease()
Deletes the (sub)tree which is represented by this node, but excludes this node |
void |
clearIndirectListeners()
Removes all indirect listeners |
void |
clearListeners()
Removes all listeners |
void |
consumeEvent()
Consumes the event for this widget. |
boolean |
contains(KeTreeElement xObj)
Tests if a node/element is inserted in the tree. |
void |
deepSubNodeVector(java.util.ArrayList xL_vect)
Inserts all nodes of the (sub)tree which is represented by this node into an array |
void |
delete()
Deletes an object from the registry |
void |
deleteFixedSize()
Deletes a fixed size setting from a widget |
void |
disable()
Disables the element |
void |
disableSubmit()
Disables the submit Flag of a component |
void |
disableThis()
Disables the element |
void |
draw()
Initiates a repaint of the widget. |
void |
enable()
Enables the element |
void |
enableSubmit()
Enables the submit flag of a widget. |
void |
enableThis()
Enables the element |
void |
ensureUnhide()
Unhides all parents of this element |
java.lang.Object |
execView()
Produces a view from this node. |
void |
getAllDisabled(java.util.ArrayList xRes)
Gets all disabled nodes/elements and includes ths node/element |
void |
getAllEnabled(java.util.ArrayList xRes)
Gets all enabled nodes/elements and includes ths node/element |
void |
getAllParentGenerations(java.util.ArrayList xToAdd)
Gets all (parent)node above this node |
int |
getAllSubCount(boolean xCountHide)
Returns 0 because tree_elements can not hold any children |
java.util.ArrayList |
getAllSubNames()
Gets all child-node and child element names |
java.util.ArrayList |
getAllSubs()
Gets all child-nodes and child elements |
IUnApplication |
getAppl()
Gets the application which is the owner of this widget |
java.lang.String |
getBgColor()
Gets the background-color of a widget. |
int |
getBorder()
Gets the the border-style [NO_BORDER || INSETS_BORDER || OTSETS_BORDER || LINE_BORDER] |
java.lang.String |
getBorderColor()
Gets the the border color |
int |
getBorderWidth()
Gets the border width in pixel |
KeTreeElement |
getByPath(java.lang.String xPath)
Gets a sub-node or sub-element by its path. |
int |
getChildCount()
Returns 0 because tree_elements can not hold any children |
java.lang.String |
getCssClass()
Gets the style-sheet class (MARKUP only) |
java.lang.String |
getCurser()
Gets the cursor of the component |
ACoDataGetter |
getDataGetter()
Returns the current data getter. |
java.util.Iterator |
getDeepSubNodeIt()
Creates an iterator over all nodes of the (sub)tree which is represented by this node |
java.lang.Object |
getDefaultValue()
Returns the default value |
KeTreeElement |
getElementAt(int xIdx)
Gets a child-node or chld-element at a given index. |
boolean |
getEventOnChange()
Returns whether only value-change leads to an event or not |
java.lang.String |
getFgColor()
Gets the foreground-color of a widget. |
UnFixedSize |
getFixedSize()
Gets the fixed size of a widget |
UnFontDescriptor |
getFont()
Gets the font which is used to display text within the widget. |
boolean |
getGlobal()
Gets the information whether the page is global accessible from client-side or not |
java.util.ArrayList |
getIndirectListeners()
Gets an ArraList with all indirect listeners |
int |
getIterativeEventLatency()
Gets the latency time |
KeTreeNode |
getLastParentNode()
Gets the last parent node of this element. |
java.util.ArrayList |
getListeners()
Gets an ArraList with all listeners |
IMoValue |
getModel()
Gets the model value which belongs to the widget. |
IMoValue |
getModelTpl()
Gets the template of the model-value which belongs to the widget. |
IMoValue |
getModelTpl(java.lang.String xTpl)
Gets the special template of the model-value which belongs to the widget. |
boolean |
getMultipleParents()
For internal use only |
boolean |
getMyPropChanged()
Gets the myProperty flag of an element. |
java.lang.String |
getName()
Gets the name of this element |
KeTreeNode |
getNodeAt(int xIdx)
Gets a child-node or chld-element at a given index. |
KeTreeElement |
getParentGeneration(int xGeneration)
Gets a (parent)node above this node |
KeTreeNode |
getParentNode()
Gets the parent node of this element. |
int |
getParentNodeCount()
Gets the depth of the tree from the root node to this element |
PlBasicComponentAggregat |
getParentPlugin()
Returns a related plugin parent object if available |
java.util.Iterator |
getParents()
Returns an iterator over all parent nodes of this element |
java.util.ArrayList |
getParentsList()
Returns a list with all parent nodes of this element |
java.lang.String |
getPath()
Returns the absolute path of this node |
PlBasicComponentAggregat |
getPluginPeer()
Returns a related plugin object if available |
boolean |
getPropChanged()
Gets the property flag of an element.This flag is true if a property is changed directly or the property of any child had changed
|
java.util.ArrayList |
getPropertyChangedListeners()
Returns the list with all property changed listeners |
boolean |
getRenderIfHidden()
The renderIfHidden flag indicates that a widget is rendered always |
KeTreeElement |
getRootNode()
Gets the root node of a tree |
KeTreeElement |
getSub(java.lang.String xName)
Gets a sub-node or sub-element by its name. |
int |
getSubCount()
Similar to getChildCount |
KeTreeElement |
getSubElement(java.lang.String xName)
Gets a sub-element by its name. |
java.util.Iterator |
getSubIterator()
Creates an iterator over all child-nodes and child-elements |
java.util.Iterator |
getSubNameIterator()
Creates an iterator over all child-node and child-element names |
KeTreeNode |
getSubNode(java.lang.String xName)
Gets a sub-node by its name. |
boolean |
getTakeMaxSpace()
Gets the maxSpace property (MARKUP only) |
java.lang.String |
getToolTip()
Gets the tooltip which has been set to this widget. |
UnComponent |
getUnComponent()
Gets the associated gui-object which implements all common methods |
java.lang.Object |
getValue()
Gets the value of the element |
IKeView |
getView()
Gets the view of this node |
boolean |
hasCtxMenu()
Returns wheter the component has a context menu or not, this flag is set once the context menu is added. |
void |
hide()
Hide this node |
void |
hideAll()
Hides all children (in deep search manner) and the node itself |
void |
hideAllChildren()
Hides all children (in deep search manner) |
void |
hideLevel(int xLevel)
Hides all children (in deep search manner) starting by the specified depth |
int |
indexOf(KeTreeElement xEl)
Gets the index of a child-node or child-element with the list of child-nodes. |
boolean |
isChildOf(KeTreeNode xNode)
Returns whether this node is part of the subtree of xNode or not |
boolean |
isDefSet()
Returns whether a default is set or not |
boolean |
isDeleted()
For internal use only |
boolean |
isDisabled()
Returns the disabled flag of this element |
boolean |
isGlobal()
Returns whether this object is registered globally or not |
boolean |
isHidden()
Returns the hidden-flag of this node |
boolean |
isIndirectRefreshed()
Gets the status of the widgets indirect refresh flag |
boolean |
isLocal()
Returns whether this object is registered localy or not |
boolean |
isOwner()
Returns the ownership flag |
boolean |
isParentDisabled()
Returns whether a parent is disabled or not |
boolean |
isParentHidden()
Returns whether a parent is hidden or not |
boolean |
isRefreshed()
Gets the status of the widgets refresh flag |
boolean |
isRegistered()
Returns whether this object is registered or not |
boolean |
isSubmit()
Disables the submit flag of a widget. |
IMoValue |
newModelValue(java.lang.String xName,
boolean xChilds)
Creates a new model-value from the template. |
IMoValue |
newModelValue(java.lang.String xName,
boolean xChilds,
boolean xFull)
Creates a new model-value from the template. |
IMoValue |
newModelValue(java.lang.String xName,
boolean xChilds,
boolean xFull,
java.lang.String xExclude)
Creates a new model-value from the template. |
IMoValue |
newModelValue(java.lang.String xName,
boolean xChilds,
boolean xFull,
java.lang.String xExclude,
boolean xDisableRegister)
Creates a new model-value from the template. |
void |
pushValues()
pushes the values back to the source of the data-getter |
void |
pushValuesRecursive()
pushes the values back to the source of the data-getter recursively |
void |
receiveValues()
A call to this function make the widget load a new value from an associated data-getter sets only the value of the component |
void |
receiveValuesRecursive()
Calls the receiveValue for the complete subtree |
int |
register(java.lang.String xName)
Registers an object in the currently running threads namespace which is derived from KeRegisteredObject |
int |
registerGlobal(java.lang.String xName)
Registers an object in the global namespace which is derived from KeRegisteredObject |
void |
releaseSubs()
For internal use only |
void |
reload()
Reloads the data getter |
void |
reloadRecursive()
Reloads the data getter recursive |
void |
remEventChannel(IUnEventChannel xEvC)
Removes an event channle from a widget. |
void |
remIndirectListener(IUnGuiEventListener xListener)
Removes an indirect listener from a widget. |
void |
remListener(IUnGuiEventListener xListener)
Removes a listener from a widget. |
KeTreeElement |
removeElement(KeTreeElement xNode)
Removes a given element |
KeTreeElement |
removeElement(java.lang.String xName)
Removes a element with a given name |
KeTreeNode |
removeNode(KeTreeNode xNode)
Removes a given node |
KeTreeNode |
removeNode(java.lang.String xName)
Removes a node with a given name |
KeTreeNode |
removeNodeLocal(KeTreeNode xNode)
Removes a given node |
KeTreeNode |
removeNodeLocal(java.lang.String xName)
Removes a node with a given name |
void |
removePropertyChangedListener(IKePropertyChangeListener xListen)
Removes a property changed listener. |
void |
remPostFct(IUnPostDisplayFunction xXpostFct)
Removes a post-display function from a widget |
void |
remPreFct(IUnPreDisplayFunction xXpreFct)
Removes a pre-display function from a widget |
void |
repaint()
Initiates a complete repaint and reinitialise of the widget. |
void |
requestFocus()
Requests the input-focus for the widget. |
java.lang.Object |
reset()
Resets the elements value to the default value |
void |
resetColorSettings()
Deletes all (foreground/background) color settings of a widget |
void |
resetPropertyChangeFlag()
This method resets the property change flag recursively. |
java.lang.Object |
resetRecursive()
For internal use only |
void |
selfRefresh()
A call to this function make the widget load a new value from an associated data-getter |
void |
selfRefreshRecursive()
Calls the self-refresh for the complete subtree |
void |
setAppl(IUnApplication xAppl)
Sets the application which owns this widget. |
void |
setBgColor(java.lang.String xCol)
Sets the background-color of the widget. |
void |
setBorder(int xBorder,
java.lang.String xColor,
int xWidth)
Sets a border line. |
void |
setCssClass(java.lang.String xClass)
Sets the style-sheet class of the widget (MARKUP only) |
void |
setCursor(java.lang.String xCursor)
Sets the cursor of the component |
void |
setDataGetter(ACoDataGetter xDg,
java.lang.String xId,
boolean xRefresh)
Associates a data-getter object with this widget. |
void |
setDefaultValue(java.lang.Object xObj)
Sets a default value for this element |
void |
setEarlyAutoDelete(boolean xWR)
Sets this object to early auto delete. |
void |
setEventOnChange(boolean xEvC)
Sets whether only value-change leads to an event or not |
void |
setFgColor(java.lang.String xCol)
Sets the foreground-color of the widget. |
void |
setFixedSize(int xW,
int xH,
int xType)
Applies a fixed size to a widget |
void |
setFont(UnFontDescriptor xFont)
Sets the font which is used to display text within the widget. |
void |
setGlobal(boolean xGlobal)
Sets a widget as global. |
void |
setIndirectRefresh()
Sets a indirect refresh flag of the widget. |
void |
setIterativeEventLatency(int xLatency)
Sets the delay (latency) in millis for iterative events as there are scroll, moved, resized. |
void |
setLateAutoDelete(boolean xWR)
Sets this object to late auto delete. |
void |
setLocalValue(java.lang.Object xValue)
Sets the value of the server side part of the node. |
IMoValue |
setModel(IMoValue xModel)
Sets the model-value which belongs to the widget. |
IMoValue |
setModelTpl(IMoValue xModel)
Sets the template of the model-value which belongs to the widget. |
void |
setMultipleParents(boolean xMp)
For internal use only |
void |
setName(java.lang.String xName)
Sets the name of an element. |
void |
setNameComparator(java.util.Comparator xComp)
Sets a comparator for sub-name sorting |
void |
setPostFct(boolean xPostFct)
Enables or disables postFunction handling of widget. |
void |
setPreFct(boolean xPreFct)
Enables or disables preFunction handling of widget. |
void |
setPropChanged(boolean xPc)
Sets the property flag of an elements and updates this flag in all parents. |
void |
setRefresh()
Sets a direct refresh flag of the widget. |
void |
setRenderIfHidden(boolean xRiH)
The renderIfHidden flag indicates that a widget is rendered always |
IUnTransformer |
setStringTransformer(IUnTransformer xTrans)
Sets a transformer for the toString method. |
void |
setStringValue(java.lang.Object xObj)
Sets the value of an element, while the value is converted to a String |
void |
setSubNodeOwnerShip(boolean xOwner)
Sets the ownership of child-nodes and elements. |
void |
setTakeMaxSpace(boolean xSpace)
Set a property that indicates that a widget takes all space available in a layout (MARKUP only) |
void |
setToolTip(java.lang.String xTip)
Sets the tooltip to a widget. |
void |
setTpl()
Resets to the default template |
void |
setTpl(java.lang.String xTpl)
Sets a template which may be used by a transformer to generate a String |
void |
setValue(java.lang.Object xValue)
Sets the value of an element |
void |
setValueComparator(java.util.Comparator xComp)
Sets a comparator for value sorting |
void |
setValueOwnerShip(boolean xOwn)
Sets the ownership of the value. |
void |
setView(IKeView xView)
Sets a view objects to this element. |
void |
setWidgetValue(java.lang.Object xValue)
Sets the value of the widget. |
void |
sortByNames(boolean xSortComplete)
Sorts the tree by it's sub-names |
void |
sortByValues(boolean xSortComplete)
Sorts the tree by it's sub-values |
void |
toggleHideState()
Toggles the hidden-flag of this node |
void |
unhide()
Unhide this node |
void |
unHideAll()
Unhides all children (in deep search manner) and the node itself |
void |
unHideAllChildren()
Unhides all children (in deep search manner) |
java.lang.Object |
unRegister()
For internal use only |
void |
unsetDefaultValue()
Unsets a default value for this element |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.ug2t.unifiedGui.interfaces.IUnComponent |
|---|
toString |
| Constructor Detail |
|---|
public UnComponentProxy(java.lang.String xRefName)
| Method Detail |
|---|
public void addEventChannel(IUnEventChannel xEvC)
IUnComponentAdds an event channel to the widget.
addEventChannel in interface IUnComponentxEvC - channel to add
public void addIndirectListener(IUnGuiEventListener xListener)
IUnComponentAdds an indirect listener to the widget. The indirect listener is called every time a value of a child of the widget is changed by the gui.
addIndirectListener in interface IUnComponentxListener - listener to add
public void addListener(IUnGuiEventListener xListener)
IUnComponentAdds a listener to the widget. The listener is called every time the value of the widget is changed by the gui.
addListener in interface IUnComponentxListener - listener to add
public void addPostFct(IUnPostDisplayFunction xXpostFct)
IUnComponentAdds a post-display function to the widget. This function is called after the widget has been removed from screen by activating an other page than the one which contains the widget.
addPostFct in interface IUnComponentxXpostFct - post-display function to add
public void addPreFct(IUnPreDisplayFunction xXpreFct)
IUnComponentAdds a pre-display function to the widget. This function is called before the widget is displayed on screen by activating the page which contains the widget.
addPreFct in interface IUnComponentxXpreFct - pre-display function to add
public void consumeEvent()
IUnComponentConsumes the event for this widget. It does not prevent event bubbling!
consumeEvent in interface IUnComponentpublic void deleteFixedSize()
IUnComponentDeletes a fixed size setting from a widget
deleteFixedSize in interface IUnComponentpublic void disableSubmit()
IUnComponentDisables the submit Flag of a component
disableSubmit in interface IUnComponentpublic void draw()
IUnComponentInitiates a repaint of the widget.
draw in interface IUnComponentpublic void enableSubmit()
IUnComponentEnables the submit flag of a widget. If this flag is enabled a change of the widget value within the gui, or lost of focus leads to a server-side event-dispatch.
enableSubmit in interface IUnComponentpublic IUnApplication getAppl()
IUnComponentGets the application which is the owner of this widget
getAppl in interface IUnComponent
public java.lang.String getBgColor()
IUnComponentGets the background-color of a widget.
getBgColor in interface IUnComponent
public int getBorder()
IUnComponentGets the the border-style [NO_BORDER || INSETS_BORDER || OTSETS_BORDER || LINE_BORDER]
getBorder in interface IUnComponentpublic java.lang.String getBorderColor()
IUnComponentGets the the border color
getBorderColor in interface IUnComponentpublic int getBorderWidth()
IUnComponentGets the border width in pixel
getBorderWidth in interface IUnComponentpublic java.lang.String getCssClass()
IUnComponentGets the style-sheet class (MARKUP only)
getCssClass in interface IUnComponentpublic java.lang.String getCurser()
IUnComponentGets the cursor of the component
getCurser in interface IUnComponentpublic boolean getEventOnChange()
IUnComponentReturns whether only value-change leads to an event or not
getEventOnChange in interface IUnComponent
public java.lang.String getFgColor()
IUnComponentGets the foreground-color of a widget.
getFgColor in interface IUnComponent
public UnFixedSize getFixedSize()
IUnComponentGets the fixed size of a widget
getFixedSize in interface IUnComponent
public UnFontDescriptor getFont()
IUnComponentGets the font which is used to display text within the widget.
getFont in interface IUnComponent
public boolean getGlobal()
IUnComponentGets the information whether the page is global accessible from client-side or not
getGlobal in interface IUnComponent
public int getIterativeEventLatency()
IUnComponentGets the latency time
getIterativeEventLatency in interface IUnComponentpublic IMoValue getModel()
IUnComponentGets the model value which belongs to the widget.
getModel in interface IUnComponent
public IMoValue getModelTpl()
IUnComponentGets the template of the model-value which belongs to the widget.
getModelTpl in interface IUnComponent
public IMoValue getModelTpl(java.lang.String xTpl)
IUnComponentGets the special template of the model-value which belongs to the widget.
getModelTpl in interface IUnComponent
public PlBasicComponentAggregat getParentPlugin()
IUnComponentReturns a related plugin parent object if available
getParentPlugin in interface IUnComponentpublic PlBasicComponentAggregat getPluginPeer()
IUnComponentReturns a related plugin object if available
getPluginPeer in interface IUnComponentpublic boolean getRenderIfHidden()
IUnComponentThe renderIfHidden flag indicates that a widget is rendered always
getRenderIfHidden in interface IUnComponent
public boolean getTakeMaxSpace()
IUnComponentGets the maxSpace property (MARKUP only)
getTakeMaxSpace in interface IUnComponentpublic java.lang.String getToolTip()
IUnComponentGets the tooltip which has been set to this widget.
getToolTip in interface IUnComponent
public UnComponent getUnComponent()
IUnComponentGets the associated gui-object which implements all common methods
getUnComponent in interface IUnComponent
public boolean hasCtxMenu()
IUnComponentReturns wheter the component has a context menu or not, this flag is set once the context menu is added.
hasCtxMenu in interface IUnComponentpublic boolean isIndirectRefreshed()
IUnComponentGets the status of the widgets indirect refresh flag
isIndirectRefreshed in interface IUnComponent
public boolean isRefreshed()
IUnComponentGets the status of the widgets refresh flag
isRefreshed in interface IUnComponent
public boolean isSubmit()
IUnComponentDisables the submit flag of a widget. If this flag is disabled the widgets value will be stored at client-side until an other widget initiates a server-side event-dispatch
isSubmit in interface IUnComponent
public IMoValue newModelValue(java.lang.String xName,
boolean xChilds)
IUnComponentCreates a new model-value from the template.
newModelValue in interface IUnComponentxName - identifier of the model-valuexChilds - true if all sub-values are created immediately, otherwise false
public IMoValue newModelValue(java.lang.String xName,
boolean xChilds,
boolean xFull)
IUnComponentCreates a new model-value from the template.
newModelValue in interface IUnComponentxName - identifier of the model-valuexChilds - true if all sub-values are created immediately, otherwise falsexFull - true if all sub-values (including the non mandatory ones) are
created immediately, otherwise false
public IMoValue newModelValue(java.lang.String xName,
boolean xChilds,
boolean xFull,
java.lang.String xExclude,
boolean xDisableRegister)
IUnComponentCreates a new model-value from the template.
newModelValue in interface IUnComponentxName - identifier of the model-valuexChilds - true if all sub-values are created immediately, otherwise falsexFull - true if all sub-values (including the non mandatory ones) are
created immediately, otherwise falsexExclude - Type to be excludedxDisableRegister - Disable Registry during object generation
public IMoValue newModelValue(java.lang.String xName,
boolean xChilds,
boolean xFull,
java.lang.String xExclude)
IUnComponentCreates a new model-value from the template.
newModelValue in interface IUnComponentxName - identifier of the model-valuexChilds - true if all sub-values are created immediately, otherwise falsexFull - true if all sub-values (including the non mandatory ones) are
created immediately, otherwise falsexExclude - Type to be excluded
public void remEventChannel(IUnEventChannel xEvC)
IUnComponentRemoves an event channle from a widget.
remEventChannel in interface IUnComponentxEvC - channel to remove
public void remIndirectListener(IUnGuiEventListener xListener)
IUnComponentRemoves an indirect listener from a widget.
remIndirectListener in interface IUnComponentxListener - indirect listener to remove
public void remListener(IUnGuiEventListener xListener)
IUnComponentRemoves a listener from a widget.
remListener in interface IUnComponentxListener - listener to remove
public void remPostFct(IUnPostDisplayFunction xXpostFct)
IUnComponentRemoves a post-display function from a widget
remPostFct in interface IUnComponentxXpostFct - post-display function to remove
public void remPreFct(IUnPreDisplayFunction xXpreFct)
IUnComponentRemoves a pre-display function from a widget
remPreFct in interface IUnComponentxXpreFct - pre-display function to remove
public void repaint()
IUnComponentInitiates a complete repaint and reinitialise of the widget. This may lead to produce events. If you only want to be rendered call draw.
repaint in interface IUnComponentpublic void requestFocus()
IUnComponentRequests the input-focus for the widget.
requestFocus in interface IUnComponentpublic void resetColorSettings()
IUnComponentDeletes all (foreground/background) color settings of a widget
resetColorSettings in interface IUnComponent
public void selfRefresh()
throws java.lang.Exception
IUnComponentA call to this function make the widget load a new value from an associated data-getter
selfRefresh in interface IUnComponentjava.lang.Exception
public void selfRefreshRecursive()
throws java.lang.Exception
IUnComponentCalls the self-refresh for the complete subtree
selfRefreshRecursive in interface IUnComponentjava.lang.Exception
public void reload()
throws java.lang.Exception
IUnComponentReloads the data getter
reload in interface IUnComponentjava.lang.Exception
public void reloadRecursive()
throws java.lang.Exception
IUnComponentReloads the data getter recursive
reloadRecursive in interface IUnComponentjava.lang.Exceptionpublic void setAppl(IUnApplication xAppl)
IUnComponentSets the application which owns this widget. In most cases there is no need to use this function.
setAppl in interface IUnComponentxAppl - interface to application object
public void setBgColor(java.lang.String xCol)
IUnComponentSets the background-color of the widget.
setBgColor in interface IUnComponentxCol - background-color as string. For swing channel all constant-names
for colors are supported. For MARKUP channel all supported
string-values are supported.
public void setBorder(int xBorder,
java.lang.String xColor,
int xWidth)
IUnComponentSets a border line. To remove a border all the method with (NO_BORDER, "", 0)
setBorder in interface IUnComponentxBorder - border-style [NO_BORDER || INSETS_BORDER || OTSETS_BORDER ||
LINE_BORDER]xColor - border-colorxWidth - border-width in pixel
public void setCssClass(java.lang.String xClass)
IUnComponentSets the style-sheet class of the widget (MARKUP only)
setCssClass in interface IUnComponentxClass - style-class
public void setCursor(java.lang.String xCursor)
IUnComponentSets the cursor of the component
setCursor in interface IUnComponent
public void setDataGetter(ACoDataGetter xDg,
java.lang.String xId,
boolean xRefresh)
IUnComponentAssociates a data-getter object with this widget. The data-getter sets the value of the widget from an external data-source when 'selfRefresh' is called.
setDataGetter in interface IUnComponentxDg - data-getterxId - id of the data (-record) to getxRefresh - true if the widgets refresh flag has to be enabled after refresh,
otherwise false
public void setEventOnChange(boolean xEvC)
IUnComponentSets whether only value-change leads to an event or not
setEventOnChange in interface IUnComponentxEvC - true indicates that the event is generated every time, false
indicates that the event is only generated in case if value-change
public void setFgColor(java.lang.String xCol)
IUnComponentSets the foreground-color of the widget.
setFgColor in interface IUnComponentxCol - foreground-color as string. For swing channel all constant-names
for colors are supported. For MARKUP channel all supported
string-values are supported.
public void setFixedSize(int xW,
int xH,
int xType)
IUnComponentApplies a fixed size to a widget
setFixedSize in interface IUnComponentxW - new size widthxH - new size heightpublic void setFont(UnFontDescriptor xFont)
IUnComponentSets the font which is used to display text within the widget.
setFont in interface IUnComponentxFont - font-descriptor
public void setGlobal(boolean xGlobal)
IUnComponentSets a widget as global. This means that the widget can be accessed from client-side whether the containing page is active or not
setGlobal in interface IUnComponentxGlobal - true indicates global, false indicates page-local
public void setIndirectRefresh()
IUnComponentSets a indirect refresh flag of the widget. Due to this the connected indirect event-listeners will be called during the next event-dispatch. After the event-dispatch this flag is set to false. The meaning of the indirect refresh flag is that not the widgets value has been changed but one of the widgets children value has been changed since the last event-dispatch.
setIndirectRefresh in interface IUnComponentpublic void setIterativeEventLatency(int xLatency)
IUnComponentSets the delay (latency) in millis for iterative events as there are scroll, moved, resized. For Example: A delay of 200 ms means that a scroll event is passed to the server after 200ms, presumed that there is no further scroll event generated during this time. This feature is able to reduce network trafic significant.
setIterativeEventLatency in interface IUnComponentxLatency - time in millis
public void setLocalValue(java.lang.Object xValue)
IKeTreeNodeSets the value of the server side part of the node.
setLocalValue in interface IKeTreeNodesetLocalValue in interface IUnComponentxValue - new node-value
public IMoValue setModel(IMoValue xModel)
IUnComponentSets the model-value which belongs to the widget.
setModel in interface IUnComponentxModel - new model-value
public IMoValue setModelTpl(IMoValue xModel)
IUnComponentSets the template of the model-value which belongs to the widget.
setModelTpl in interface IUnComponentxModel - new template
public void setPostFct(boolean xPostFct)
IUnComponentEnables or disables postFunction handling of widget. Postfunction are executed by default. For performance-reasons disabling this feature may be reasonable
setPostFct in interface IUnComponentxPostFct - true enables handling, false disables
public void setPreFct(boolean xPreFct)
IUnComponentEnables or disables preFunction handling of widget. Prefunction are executed by default. For performance-reasons disabling this feature may be reasonable
setPreFct in interface IUnComponentxPreFct - true enables handling, false disables
public void setRefresh()
IUnComponentSets a direct refresh flag of the widget. Due to this the connected event-listeners will be called during the next event-dispatch. After the event-dispatch this flag is set to false
setRefresh in interface IUnComponentpublic void setRenderIfHidden(boolean xRiH)
IUnComponentThe renderIfHidden flag indicates that a widget is rendered always
setRenderIfHidden in interface IUnComponentxRiH - true render widget if hidden flag is true false do not render
widget if hidden flag is true
public void setTakeMaxSpace(boolean xSpace)
IUnComponentSet a property that indicates that a widget takes all space available in a layout (MARKUP only)
setTakeMaxSpace in interface IUnComponentxSpace - public void setToolTip(java.lang.String xTip)
IUnComponentSets the tooltip to a widget. A tooltip is a small window which contains a short explanation. This window pops up if the mouse-cursor stay above the widget for some seconds.
setToolTip in interface IUnComponentxTip - tooltip text
public void setValue(java.lang.Object xValue)
IKeTreeElementSets the value of an element
setValue in interface IKeTreeElementsetValue in interface IUnComponentxValue - new value
public void setWidgetValue(java.lang.Object xValue)
IUnComponentSets the value of the widget. Listeners are called as a side-effect. The behaviour of events is similar in Swing and Web/MARKUP
setWidgetValue in interface IUnComponentxValue - new widget-value
public KeTreeElement addElement(java.lang.String xName,
KeTreeElement xNode)
IKeTreeNodeAdds a child-elelemt into this node. The child-elelemt has to have a name. Not unique name are permitted. The getSubElement (xName,... method returns the last node which has been inserted with a not unique name.
addElement in interface IKeTreeNodexName - name of the element to insertxNode - node to insert
public KeTreeElement addElement(java.lang.String xName,
KeTreeElement xNode,
KeTreeElement xBehind)
IKeTreeNodeAdds a child-element into this node behind a given child-node or child-element. The child-element has to have a name. Not unique name are permitted. The getSubElement (xName,... method returns the last node which has been inserted with a not unique name.
addElement in interface IKeTreeNodexName - name of the element to insertxNode - element to insertxBehind - node ore element behind which the new node is inserted
public KeTreeElement addElement(java.lang.String xName,
KeTreeElement xNode,
int xIdx)
IKeTreeNodeAdds a child-element into this node at a given index. The child-element has to have a name. Not unique name are permitted. The getSubElement (xName,... method returns the last node which has been inserted with a not unique name.
addElement in interface IKeTreeNodexName - name of the element to insertxNode - element to insertxIdx - index where the node is inserted
public KeTreeElement addElementLocal(java.lang.String xName,
KeTreeElement xNode)
IKeTreeNodeAdds a child-elelemt into this node. The child-elelemt has to have a name. Not unique name are permitted. The getSubElement (xName,... method returns the last node which has been inserted with a not unique name.
addElementLocal in interface IKeTreeNodexName - name of the element to insertxNode - node to insert
public KeTreeNode addNode(java.lang.String xName,
KeTreeNode xNode)
IKeTreeNodeAdds a child-node into this node. The child-node has to have a name. Not unique name are permitted. The getSubNode (xName,... method returns the last node which has been inserted with a not unique name.
addNode in interface IKeTreeNodexName - name of the node to insertxNode - node to insert
public KeTreeNode addNode(java.lang.String xName,
KeTreeNode xNode,
int xIdx)
IKeTreeNodeAdds a child-node into this node at a given index. The child-node has to have a name. Not unique name are permitted. The getSubNode (xName,... method returns the last node which has been inserted with a not unique name.
addNode in interface IKeTreeNodexName - name of the node to insertxNode - node to insertxIdx - index where the node is inserted
public KeTreeNode addNode(java.lang.String xName,
KeTreeNode xNode,
KeTreeElement xBehind)
IKeTreeNodeAdds a child-node into this node behind a given child-node or child-element. The child-node has to have a name. Not unique name are permitted. The getSubNode (xName,... method returns the last node which has been inserted with a not unique name.
addNode in interface IKeTreeNodexName - name of the node to insertxNode - node to insertxBehind - node ore element behind which the new node is inserted
public KeTreeNode addNodeLocal(java.lang.String xName,
KeTreeNode xNode)
IKeTreeNodeAdds a child-node into this node. The child-node has to have a name. Not unique name are permitted. The getSubNode (xName,... method returns the last node which has been inserted with a not unique name.
addNodeLocal in interface IKeTreeNodexName - name of the node to insertxNode - node to insert
public void clear()
IKeTreeNodeDeletes the (sub)tree which is represented by this node, but excludes this node and all subtrees of this node are kept alive
clear in interface IKeTreeNodepublic void clearAndRelease()
IKeTreeNodeDeletes the (sub)tree which is represented by this node, but excludes this node
clearAndRelease in interface IKeTreeNodepublic boolean contains(KeTreeElement xObj)
IKeTreeNodeTests if a node/element is inserted in the tree.
contains in interface IKeTreeNodexObj - node/element to test
public void deepSubNodeVector(java.util.ArrayList xL_vect)
IKeTreeNodeInserts all nodes of the (sub)tree which is represented by this node into an array
deepSubNodeVector in interface IKeTreeNodexL_vect - array whre the nodes and elements are inserted
public void disable()
IKeTreeElementDisables the element
disable in interface IKeTreeElementdisable in interface IKeTreeNodepublic void enable()
IKeTreeElementEnables the element
enable in interface IKeTreeElementenable in interface IKeTreeNodepublic void getAllDisabled(java.util.ArrayList xRes)
IKeTreeElementGets all disabled nodes/elements and includes ths node/element
getAllDisabled in interface IKeTreeElementgetAllDisabled in interface IKeTreeNodexRes - ArrayList with result
public void getAllEnabled(java.util.ArrayList xRes)
IKeTreeElementGets all enabled nodes/elements and includes ths node/element
getAllEnabled in interface IKeTreeElementgetAllEnabled in interface IKeTreeNodexRes - ArrayList with result
public int getAllSubCount(boolean xCountHide)
IKeTreeElementReturns 0 because tree_elements can not hold any children
getAllSubCount in interface IKeTreeElementgetAllSubCount in interface IKeTreeNodexCountHide - indicates whether hidden childs are counted or not
public java.util.ArrayList getAllSubNames()
IKeTreeNodeGets all child-node and child element names
getAllSubNames in interface IKeTreeNode
public java.util.ArrayList getAllSubs()
IKeTreeNodeGets all child-nodes and child elements
getAllSubs in interface IKeTreeNode
public KeTreeElement getByPath(java.lang.String xPath)
IKeTreeNodeGets a sub-node or sub-element by its path. The path is similar to a path in a directory tree. Names are separated by / or :
getByPath in interface IKeTreeNodexPath - path of the node or element
public int getChildCount()
IKeTreeElementReturns 0 because tree_elements can not hold any children
getChildCount in interface IKeTreeElementgetChildCount in interface IKeTreeNode
public java.util.Iterator getDeepSubNodeIt()
IKeTreeNodeCreates an iterator over all nodes of the (sub)tree which is represented by this node
getDeepSubNodeIt in interface IKeTreeNode
public KeTreeElement getElementAt(int xIdx)
IKeTreeNodeGets a child-node or chld-element at a given index. The internal list of child-nodes and child-elements represents the order of inserting.
getElementAt in interface IKeTreeNodexIdx - child-node or child-element index
public KeTreeNode getNodeAt(int xIdx)
IKeTreeNodeGets a child-node or chld-element at a given index. The internal list of child-nodes and child-elements represents the order of inserting. The only difference between this method and getElementAt is an internal cast operation
getNodeAt in interface IKeTreeNodexIdx - child-node or child-element index
public KeTreeElement getSub(java.lang.String xName)
IKeTreeNodeGets a sub-node or sub-element by its name. If the name is not unique the last node or element of this name which has been inserted is returned
getSub in interface IKeTreeNodexName - name of the node or element
public int getSubCount()
IKeTreeNodeSimilar to getChildCount
getSubCount in interface IKeTreeNodepublic KeTreeElement getSubElement(java.lang.String xName)
IKeTreeNodeGets a sub-element by its name. If the name is not unique the last element of this name which has been inserted is returned
getSubElement in interface IKeTreeNodexName - name of the element
public java.util.Iterator getSubIterator()
IKeTreeNodeCreates an iterator over all child-nodes and child-elements
getSubIterator in interface IKeTreeNode
public java.util.Iterator getSubNameIterator()
IKeTreeNodeCreates an iterator over all child-node and child-element names
getSubNameIterator in interface IKeTreeNode
public KeTreeNode getSubNode(java.lang.String xName)
IKeTreeNodeGets a sub-node by its name. If the name is not unique the last node of this name which has been inserted is returned
getSubNode in interface IKeTreeNodexName - name of the node
public void hide()
IKeTreeNodeHide this node
hide in interface IKeTreeNodepublic void hideAll()
IKeTreeNodeHides all children (in deep search manner) and the node itself
hideAll in interface IKeTreeNodepublic void hideAllChildren()
IKeTreeNodeHides all children (in deep search manner)
hideAllChildren in interface IKeTreeNodepublic void hideLevel(int xLevel)
IKeTreeNodeHides all children (in deep search manner) starting by the specified depth
hideLevel in interface IKeTreeNodexLevel - depth to start
public int indexOf(KeTreeElement xEl)
IKeTreeNodeGets the index of a child-node or child-element with the list of child-nodes. The internal list of child-nodes and child-elements represents the order of inserting.
indexOf in interface IKeTreeNodexEl - node or element to search
public boolean isHidden()
IKeTreeNodeReturns the hidden-flag of this node
isHidden in interface IKeTreeNodepublic boolean isOwner()
IKeTreeNodeReturns the ownership flag
isOwner in interface IKeTreeNode
public boolean isParentHidden()
IKeTreeNodeReturns whether a parent is hidden or not
isParentHidden in interface IKeTreeNodepublic void releaseSubs()
IKeTreeElementFor internal use only
releaseSubs in interface IKeTreeElementreleaseSubs in interface IKeTreeNodepublic KeTreeElement removeElement(java.lang.String xName)
IKeTreeNodeRemoves a element with a given name
removeElement in interface IKeTreeNodexName - name of the element to remove
public KeTreeElement removeElement(KeTreeElement xNode)
IKeTreeNodeRemoves a given element
removeElement in interface IKeTreeNodexNode - element to remove
public KeTreeNode removeNode(java.lang.String xName)
IKeTreeNodeRemoves a node with a given name
removeNode in interface IKeTreeNodexName - name of the node to remove
public KeTreeNode removeNode(KeTreeNode xNode)
IKeTreeNodeRemoves a given node
removeNode in interface IKeTreeNodexNode - node-object to remove
public KeTreeNode removeNodeLocal(java.lang.String xName)
IKeTreeNodeRemoves a node with a given name
removeNodeLocal in interface IKeTreeNodexName - name of the node to remove
public KeTreeNode removeNodeLocal(KeTreeNode xNode)
IKeTreeNodeRemoves a given node
removeNodeLocal in interface IKeTreeNodexNode - node-object to remove
public void resetPropertyChangeFlag()
IKeTreeNodeThis method resets the property change flag recursively.
resetPropertyChangeFlag in interface IKeTreeNodepublic java.lang.Object resetRecursive()
IKeTreeElementFor internal use only
resetRecursive in interface IKeTreeElementresetRecursive in interface IKeTreeNode
public void setNameComparator(java.util.Comparator xComp)
IKeTreeNodeSets a comparator for sub-name sorting
setNameComparator in interface IKeTreeNodexComp - Comparator
public void setSubNodeOwnerShip(boolean xOwner)
IKeTreeNodeSets the ownership of child-nodes and elements. If true a delete of the parent node deletes all children as well
setSubNodeOwnerShip in interface IKeTreeNodexOwner - public void setValueComparator(java.util.Comparator xComp)
IKeTreeNodeSets a comparator for value sorting
setValueComparator in interface IKeTreeNodexComp - Comparator
public void sortByNames(boolean xSortComplete)
IKeTreeNodeSorts the tree by it's sub-names
sortByNames in interface IKeTreeNodexSortComplete - true indicates a full deep sort, false sorts only direct children of this node
public void sortByValues(boolean xSortComplete)
IKeTreeNodeSorts the tree by it's sub-values
sortByValues in interface IKeTreeNodexSortComplete - true indicates a full deep sort, false sorts only direct children of this node
public void toggleHideState()
IKeTreeNodeToggles the hidden-flag of this node
toggleHideState in interface IKeTreeNodepublic void unHideAll()
IKeTreeNodeUnhides all children (in deep search manner) and the node itself
unHideAll in interface IKeTreeNodepublic void unHideAllChildren()
IKeTreeNodeUnhides all children (in deep search manner)
unHideAllChildren in interface IKeTreeNodepublic void unhide()
IKeTreeNodeUnhide this node
unhide in interface IKeTreeNodepublic void addPropertyChangedListener(IKePropertyChangeListener xListen)
IKeTreeElementAdds a property changed listener. This listener is called whenever a property of the tree element has been change. Derived classes should use the 'setPropChanged(boolean xPc)' method to inform the the super class about the change!
addPropertyChangedListener in interface IKeTreeElementxListen - listener object to add
public void delete()
throws java.lang.Exception
IKeRegisteredObjectDeletes an object from the registry
delete in interface IKeRegisteredObjectdelete in interface IKeTreeElementjava.lang.Exceptionpublic void disableThis()
IKeTreeElementDisables the element
disableThis in interface IKeTreeElementpublic void enableThis()
IKeTreeElementEnables the element
enableThis in interface IKeTreeElementpublic java.lang.Object execView()
IKeTreeElementProduces a view from this node.
execView in interface IKeTreeElementpublic void getAllParentGenerations(java.util.ArrayList xToAdd)
IKeTreeElementGets all (parent)node above this node
getAllParentGenerations in interface IKeTreeElementpublic java.lang.Object getDefaultValue()
IKeTreeElementReturns the default value
getDefaultValue in interface IKeTreeElementpublic KeTreeNode getLastParentNode()
IKeTreeElementGets the last parent node of this element. An element can be inserted in more than one parent node! The parent which has been added first is returned by this function.
getLastParentNode in interface IKeTreeElement
public boolean getMultipleParents()
IKeTreeElementFor internal use only
getMultipleParents in interface IKeTreeElementpublic boolean getMyPropChanged()
IKeTreeElementGets the myProperty flag of an element. This flag is true if a property is changed directly
getMyPropChanged in interface IKeTreeElementpublic java.lang.String getName()
IKeTreeElementGets the name of this element
getName in interface IKeTreeElement
public KeTreeElement getParentGeneration(int xGeneration)
IKeTreeElementGets a (parent)node above this node
getParentGeneration in interface IKeTreeElementxGeneration - generation of the parent - the parent generation 0 the parent of
the parent is generation 1 and so on
public KeTreeNode getParentNode()
IKeTreeElementGets the parent node of this element. An element can be inserted in more than one parent node! The parent which has been added last is returned by this function.
getParentNode in interface IKeTreeElement
public int getParentNodeCount()
IKeTreeElementGets the depth of the tree from the root node to this element
getParentNodeCount in interface IKeTreeElement
public java.util.Iterator getParents()
IKeTreeElementReturns an iterator over all parent nodes of this element
getParents in interface IKeTreeElement
public java.util.ArrayList getParentsList()
IKeTreeElementReturns a list with all parent nodes of this element
getParentsList in interface IKeTreeElement
public java.lang.String getPath()
IKeTreeElementReturns the absolute path of this node
getPath in interface IKeTreeElement
public boolean getPropChanged()
IKeTreeElementGets the property flag of an element.This flag is true if a property is changed directly or the property of any child had changed
getPropChanged in interface IKeTreeElementpublic java.util.ArrayList getPropertyChangedListeners()
IKeTreeElementReturns the list with all property changed listeners
getPropertyChangedListeners in interface IKeTreeElementpublic KeTreeElement getRootNode()
IKeTreeElementGets the root node of a tree
getRootNode in interface IKeTreeElement
public java.lang.Object getValue()
IKeTreeElementGets the value of the element
getValue in interface IKeTreeElement
public IKeView getView()
IKeTreeElementGets the view of this node
getView in interface IKeTreeElement
public boolean isChildOf(KeTreeNode xNode)
IKeTreeElementReturns whether this node is part of the subtree of xNode or not
isChildOf in interface IKeTreeElement
public boolean isDefSet()
IKeTreeElementReturns whether a default is set or not
isDefSet in interface IKeTreeElementpublic boolean isDisabled()
IKeTreeElementReturns the disabled flag of this element
isDisabled in interface IKeTreeElement
public boolean isParentDisabled()
IKeTreeElementReturns whether a parent is disabled or not
isParentDisabled in interface IKeTreeElementpublic void removePropertyChangedListener(IKePropertyChangeListener xListen)
IKeTreeElementRemoves a property changed listener.
removePropertyChangedListener in interface IKeTreeElementxListen - listener object to remove
public java.lang.Object reset()
IKeTreeElementResets the elements value to the default value
reset in interface IKeTreeElement
public void setDefaultValue(java.lang.Object xObj)
IKeTreeElementSets a default value for this element
setDefaultValue in interface IKeTreeElementxObj - default value
public void setMultipleParents(boolean xMp)
IKeTreeElementFor internal use only
setMultipleParents in interface IKeTreeElementpublic void setName(java.lang.String xName)
IKeTreeElementSets the name of an element. If an element is inserted in a node, the name can not be changed
setName in interface IKeTreeElementxName - new name
public void setPropChanged(boolean xPc)
IKeTreeElementSets the property flag of an elements and updates this flag in all parents. This flag is used internally e.g. for cache implementations
setPropChanged in interface IKeTreeElementxPc - true indicates a change
public IUnTransformer setStringTransformer(IUnTransformer xTrans)
IKeTreeElementSets a transformer for the toString method. A transformer is responsible for the transformation of objects. In this case it is used to generate a string representation of this element
setStringTransformer in interface IKeTreeElementxTrans - new transformer
public void setStringValue(java.lang.Object xObj)
IKeTreeElementSets the value of an element, while the value is converted to a String
setStringValue in interface IKeTreeElementxObj - new value
public void setTpl(java.lang.String xTpl)
IKeTreeElementSets a template which may be used by a transformer to generate a String
setTpl in interface IKeTreeElementxTpl - string template
public void setTpl()
IKeTreeElementResets to the default template
setTpl in interface IKeTreeElementpublic void setValueOwnerShip(boolean xOwn)
IKeTreeElementSets the ownership of the value. If true a delete of the element deletes the value as well
setValueOwnerShip in interface IKeTreeElementxOwn - public void setView(IKeView xView)
IKeTreeElementSets a view objects to this element. The view generates a visual representation of this node
setView in interface IKeTreeElementxView - view object
public void unsetDefaultValue()
IKeTreeElementUnsets a default value for this element
unsetDefaultValue in interface IKeTreeElementpublic boolean isDeleted()
IKeRegisteredObject
isDeleted in interface IKeRegisteredObjectpublic boolean isGlobal()
IKeRegisteredObjectReturns whether this object is registered globally or not
isGlobal in interface IKeRegisteredObjectpublic boolean isLocal()
IKeRegisteredObjectReturns whether this object is registered localy or not
isLocal in interface IKeRegisteredObjectpublic boolean isRegistered()
IKeRegisteredObjectReturns whether this object is registered or not
isRegistered in interface IKeRegisteredObjectpublic int register(java.lang.String xName)
IKeRegisteredObjectRegisters an object in the currently running threads namespace which is derived from KeRegisteredObject
register in interface IKeRegisteredObjectxName - unique name of the object and must not be null
public int registerGlobal(java.lang.String xName)
IKeRegisteredObjectRegisters an object in the global namespace which is derived from KeRegisteredObject
registerGlobal in interface IKeRegisteredObjectxName - unique name of the object
public void setEarlyAutoDelete(boolean xWR)
IKeRegisteredObjectSets this object to early auto delete. This means the object is deleted automatically when no reference points to it except the one in the registry.
setEarlyAutoDelete in interface IKeRegisteredObjectpublic void setLateAutoDelete(boolean xWR)
IKeRegisteredObjectSets this object to late auto delete. This means the object is deleted automatically when no reference points to it except the one in the registry and the memory is low.
setLateAutoDelete in interface IKeRegisteredObjectpublic java.lang.Object unRegister()
IKeRegisteredObject
unRegister in interface IKeRegisteredObjectpublic java.util.ArrayList getIndirectListeners()
IUnComponentGets an ArraList with all indirect listeners
getIndirectListeners in interface IUnComponentpublic java.util.ArrayList getListeners()
IUnComponentGets an ArraList with all listeners
getListeners in interface IUnComponentpublic void ensureUnhide()
IKeTreeElementUnhides all parents of this element
ensureUnhide in interface IKeTreeElementpublic ACoDataGetter getDataGetter()
IUnComponentReturns the current data getter.
getDataGetter in interface IUnComponent
public void pushValues()
throws java.lang.Exception
IUnComponentpushes the values back to the source of the data-getter
pushValues in interface IUnComponentjava.lang.Exception
public void pushValuesRecursive()
throws java.lang.Exception
IUnComponentpushes the values back to the source of the data-getter recursively
pushValuesRecursive in interface IUnComponentjava.lang.Exception
public void receiveValues()
throws java.lang.Exception
IUnComponentA call to this function make the widget load a new value from an associated data-getter sets only the value of the component
receiveValues in interface IUnComponentjava.lang.Exception
public void receiveValuesRecursive()
throws java.lang.Exception
IUnComponentCalls the receiveValue for the complete subtree
receiveValuesRecursive in interface IUnComponentjava.lang.Exceptionpublic void clearListeners()
IUnComponentRemoves all listeners
clearListeners in interface IUnComponentpublic void clearIndirectListeners()
IUnComponentRemoves all indirect listeners
clearIndirectListeners in interface IUnComponent
|
WidgetServer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||