Method Summary |
|
public void | addEventListener(String type, EventListener listener) Registers the specified event listener to the component node. |
public void | addPropertyChangeListener(PropertyChangeListener listener) Registers a new property change listener listening for any property change. |
public void | addPropertyChangeListener(String propertyName, PropertyChangeListener listener) Registers a new property change listener listening for the specified property name. |
public void | addVetoableChangeListener(VetoableChangeListener listener) Registers a new vetoable property change listener listening for any property change. |
public void | disableEventListener(String type) Disables the component to receive events of the specified type. |
public void | dispose() Disposes this component. |
public void | enableEventListener(String type) Enable the component to receive events of the specified type. |
public Object | getArtifact(String name) Returns the artifact with the specified name.
Parameters: name - the artifact name to look for. |
public Object | getArtifact(String name, boolean cascade) Returns the artifact with the specified name.
If no artifact is found and cascade is true,
the method
ItsNatDocument.getArtifact(Stringboolean)
is called with cascade set to true to continue searching.
Parameters: name - the artifact name to look for. |
public ItsNatComponentManager | getItsNatComponentManager() Returns the ItsNat component manager parent of this component. |
public ItsNatComponentUI | getItsNatComponentUI() Returns the user interface manager of this component. |
public ItsNatDocument | getItsNatDocument() Returns the ItsNat document this document is associated to. |
public Node | getNode() Returns the associated DOM node to this component. |
public PropertyChangeListener[] | getPropertyChangeListeners() Returns all registered listeners listening for any property change. |
public PropertyChangeListener[] | getPropertyChangeListeners(String propertyName) Returns all registered listeners listening for changes in the specified property.
Parameters: propertyName - the property name. |
public VetoableChangeListener[] | getVetoableChangeListeners() Returns all registered listeners listening for any vetoable property change. |
public boolean | hasFocus() Informs whether this component has the focus. |
public void | registerArtifact(String name, Object value) Registers an artifact with the specified name.
Parameters: name - the artifact name Parameters: value - the artifact. |
public Object | removeArtifact(String name) Removes the artifact with the specified name.
Parameters: name - the artifact name to look for. |
public void | removeEventListener(String type, EventListener listener) Unregisters the specified event listener from the component node. |
public void | removePropertyChangeListener(PropertyChangeListener listener) Removes the specified property change listener listening for any property change. |
public void | removePropertyChangeListener(String propertyName, PropertyChangeListener listener) Removes the specified property change listener listening for the specified property name. |
public void | removeVetoableChangeListener(VetoableChangeListener listener) Removes the specified vetoable property change listener listening for any property change. |
public void | setEventListenerParams(String type, boolean useCapture, int syncMode, ParamTransport[] extraParams, String preSendCode, long ajaxTimeout) Sets the parameters used to fire and receive AJAX events by this component.
All current registered event listeners are affected.
Parameters: type - the DOM event type name (click, change etc). Parameters: useCapture - if event capture is enabled. |
public void | setNode(Node node) Changes the associated DOM node (reattachment). |