|
HATS 7.5.1 Web API ReferencePublicly accessible methods not documented here are for IBM internal use only and may change in a future release of the product. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.hats.transform.html.HTMLElement
com.ibm.hats.transform.html.PopupElement
public class PopupElement
PopupElement is the element used to render the floating choice list used in the PopupWidget. It consists of an input field, a launcher HTML element, such as a button or a link, and a DIV region for the popup choices. The DIV region contains a table of links and an HTML element to close the popup.
HTMLElementFactory.createPopup(SelectionComponentElement)| Field Summary |
|---|
| Fields inherited from class com.ibm.hats.transform.html.HTMLElement |
|---|
ATTR_ACCESS_KEY, ATTR_ACTION, ATTR_ALT, ATTR_CLASS_NAME, ATTR_DIR, ATTR_FOR, ATTR_HREF, ATTR_ID, ATTR_IMG_ALT, ATTR_MAX_LENGTH, ATTR_NAME, ATTR_ON_BLUR, ATTR_ON_CHANGE, ATTR_ON_CLICK, ATTR_ON_CUT, ATTR_ON_DROP, ATTR_ON_FOCUS, ATTR_ON_KEY_DOWN, ATTR_ON_KEY_PRESS, ATTR_ON_KEY_UP, ATTR_ON_MOUSEDOWN, ATTR_ON_MOUSEOVER, ATTR_ON_PASTE, ATTR_SIZE, ATTR_SRC, ATTR_STYLE, ATTR_TARGET, ATTR_TYPE, ATTR_VALUE, CLASSNAME, FLAG_CHECKED, FLAG_DISABLED, FLAG_MULTIPLE, FLAG_READ_ONLY, FLAG_SELECTED, tagName |
| Constructor Summary | |
|---|---|
PopupElement()
Class constructor which sets the tag name to DIV and initializes the list of options. |
|
| Method Summary | |
|---|---|
InputElement |
getField()
Returns the field. |
ArrayList |
getOptions()
Returns the options. |
HTMLElement |
getPopupCloser()
Returns the popupCloser. |
HTMLElement |
getPopupLauncher()
Returns the popupLauncher. |
HTMLElement |
getPopupTable()
Gets the table contained in the popup. |
HTMLElement |
getPopupTD()
Gets the td html element to be used in rendering the popup. |
HTMLElement |
getPopupTH()
Gets the th html element to be used in rendering the popup. |
HTMLElement |
getPopupTR()
Gets the tr html element to be used in rendering the popup. |
void |
render(StringBuffer buffer)
Renders the entire set of elements making up a field, launcher, and popup. |
void |
setField(InputElement field)
Sets the field. |
void |
setOptions(ArrayList options)
Sets the options. |
void |
setPopupCloser(HTMLElement popupCloser)
Sets the popupCloser. |
void |
setPopupLauncher(HTMLElement popupLauncher)
Sets the popupLauncher. |
void |
setPopupTable(HTMLElement element)
Sets the table element to be used in rendering the popup. |
void |
setPopupTD(HTMLElement element)
Sets the td element to be used in rendering the popup. |
void |
setPopupTH(HTMLElement element)
Sets the th element to be used in rendering the popup. |
void |
setPopupTR(HTMLElement element)
Sets the tr element to be used in rendering the popup. |
| Methods inherited from class com.ibm.hats.transform.html.HTMLElement |
|---|
addFlag, appendClassName, appendStyle, buildTag, buildTag, getAttribute, getClassName, getDir, getId, getName, getStyle, getTagName, hasFlag, removeFlag, render, render, render, renderEndTag, renderEndTag, setAlign, setAttribute, setClassName, setDir, setId, setName, setStyle, setTagName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PopupElement()
DIV and initializes the list of options.
| Method Detail |
|---|
public void render(StringBuffer buffer)
render in class HTMLElementbuffer - public InputElement getField()
public ArrayList getOptions()
LinkElementpublic HTMLElement getPopupLauncher()
public void setField(InputElement field)
field - The field to setpublic void setOptions(ArrayList options)
options - The options to setpublic void setPopupLauncher(HTMLElement popupLauncher)
popupLauncher - The popupLauncher to setpublic HTMLElement getPopupCloser()
public void setPopupCloser(HTMLElement popupCloser)
popupCloser - The popupCloser to setpublic HTMLElement getPopupTable()
public HTMLElement getPopupTD()
public HTMLElement getPopupTH()
public HTMLElement getPopupTR()
public void setPopupTable(HTMLElement element)
element - public void setPopupTD(HTMLElement element)
element - public void setPopupTH(HTMLElement element)
element - public void setPopupTR(HTMLElement element)
element -
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||