Class
caplin.control.composite

CompositeControl

The CompositeControl is a special type of composite control that accepts a Map control value and applies formatters, stylers (and parsers) on elements in the map according to the downstream (and upstream) definitions in the RendererType XML.

Constructor Summary

Attributes Name and Description
caplin.control.composite.CompositeControl( oControlType)

A CompositeControl is control whose functions operate on a map control value.

Method Summary

Attributes Name and Description
Number getHeight()

Returns the height of the control.

int getId()

Gets the numeric id of this control.

Number getWidth()

Returns the width of the control.

boolean isBound()

Returns true if the control is bound to the DOM.

void removeFlash()

Removes the flash state from the control.

void setDomValue(String sValue)

Sets the value in the DOM.

void setId(int nId)

Sets the id of this control.

Methods implemented from class caplin.control.Control:
addClass, clear, clearState, disable, enable, flash, focus, getAttributes, getValue, isEnabled, refresh, removeClass, replaceClass, select, setStyle, setValue, toString

Constructor Detail

caplin.control.composite.CompositeControl( oControlType)

A CompositeControl is control whose functions operate on a map control value. This is an abstract base class, therefore the constructor should not be directly invoked.

Parameters
oControlType The control type.

Method Detail

Number getHeight()

Returns the height of the control.

Returns
The height of the DOM element in pixels.

int getId()

Gets the numeric id of this control.

Returns
The numeric id of this control.

Number getWidth()

Returns the width of the control.

Returns
The width of the DOM element in pixels.

boolean isBound()

Returns true if the control is bound to the DOM.

void removeFlash()

Removes the flash state from the control.

void setDomValue(String sValue)

Sets the value in the DOM.

Parameters
String sValue The value to set in the DOM.

void setId(int nId)

Sets the id of this control.

Parameters
int nId the value of the id to set.