|
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.EnptuiScrollbarElement
public class EnptuiScrollbarElement
ENPTUIScrollbarElement is used to render the parts of a scrollbar indicated by an ENPTUIScrollbarComponent.
| 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 | |
|---|---|
EnptuiScrollbarElement()
Class constructor which sets the tag name to DIV and initializes the list of options. |
|
| Method Summary | |
|---|---|
HTMLElement |
getDownButton()
Gets the td html element to be used in rendering the down/right scrollbar button. |
String |
getEncodedPath()
Returns the encoded path that the element can find its images on. |
String |
getFormID()
Returns the form ID to use to submit slider drag command. |
int |
getLineDownPos()
Returns the scrollbar Down button position. |
int |
getLineUpPos()
Returns the scrollbar up button position. |
HTMLElement |
getPageDownArea()
Gets the td html element to be used in rendering the page down area. |
int |
getPageDownPos()
Returns the scrollbar page down position. |
HTMLElement |
getPageUpArea()
Gets the td html element to be used in rendering the page up area. |
int |
getPageUpPos()
Returns the scrollbar page up position. |
int |
getScreenPos()
Returns screen location of scrollbar. |
HTMLElement |
getScrollbarTD()
Gets the tr html element to be used in rendering the scrollbar. |
HTMLElement |
getScrollbarTR()
Gets the tr html element to be used in rendering the scrollbar. |
int |
getScrollPos()
Returns the scrollbar slider position. |
int |
getSize()
Returns the number of rows or columns scrollbar uses when drawn. |
HTMLElement |
getSliderButton()
Gets the td html element to be used in rendering the slider scrollbar buttons |
int |
getTotal()
Returns number of scrollable values |
HTMLElement |
getUpButton()
Gets the td html element to be used in rendering the up/left scrollbar button. |
boolean |
isButtonArrowsWhite()
Returns Are the button arrows to be drawn white |
boolean |
isScripting()
Returns Are we doing scripting on this element? |
boolean |
isVertical()
Returns true if the scrollbar is drawn vertically, false otherwise. |
void |
render(StringBuffer buffer)
Renders the entire set of elements making up a scrollbar. |
void |
setButtonArrowsWhite(boolean _b)
Sets if the button arrows are to be drawn white |
void |
setClassName(String value)
Sets the className. |
void |
setDownButton(HTMLElement element)
Sets the td element to be used in rendering the down/right scrollbar button |
void |
setEncodedPath(String _p)
Sets the encoded path that the element can find its images on. |
void |
setFormID(String _f)
Sets the form ID to use to submit slider drag command. |
void |
setLineDownPos(int _p)
Sets the scrollbar Down button position. |
void |
setLineUpPos(int _p)
Sets the scrollbar up button position. |
void |
setPageDownArea(HTMLElement element)
Sets the td element to be used in rendering the page down area. |
void |
setPageDownPos(int _p)
Sets the scrollbar page down position. |
void |
setPageUpArea(HTMLElement element)
Sets the td element to be used in rendering the page up area. |
void |
setPageUpPos(int _p)
Sets the scrollbar page up position. |
void |
setScreenPos(int _s)
Sets the screen location of scrollbar |
void |
setScripting(boolean _b)
Sets if we are doing scripting on this element |
void |
setScrollbarTD(HTMLElement element)
Sets the tr element to be used in rendering the scrollbar. |
void |
setScrollbarTR(HTMLElement element)
Sets the tr element to be used in rendering the scrollbar |
void |
setScrollPos(int _p)
Sets the scrollbar slider position. |
void |
setSize(int _s)
Sets the number of rows or columns scrollbar uses when drawn. |
void |
setSliderButton(HTMLElement element)
Sets the td element to be used in rendering the slider scrollbar buttons. |
void |
setTotal(int _t)
Sets the number of scrollable values. |
void |
setUpButton(HTMLElement element)
Sets the td element to be used in rendering the up/left scrollbar button. |
void |
setVertical(boolean _v)
Sets if the scrollbar is drawn vertically. |
String |
toString()
|
| 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, setDir, setId, setName, setStyle, setTagName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EnptuiScrollbarElement()
DIV and initializes the list of options.
| Method Detail |
|---|
public HTMLElement getScrollbarTR()
public void setScrollbarTR(HTMLElement element)
element - The element to be used in rendering the scrollbar.public HTMLElement getScrollbarTD()
public void setScrollbarTD(HTMLElement element)
element - The element to be used in rendering the scrollbar.public HTMLElement getUpButton()
public void setUpButton(HTMLElement element)
element - The element to be used in rendering the up/left scrollbar button.public HTMLElement getPageUpArea()
public void setPageUpArea(HTMLElement element)
element - The element to be used in rendering the page up area.public HTMLElement getPageDownArea()
public void setPageDownArea(HTMLElement element)
element - The element to be used in rendering the page down area.public HTMLElement getDownButton()
public void setDownButton(HTMLElement element)
element - The element to be used in rendering the down/right scrollbar button.public HTMLElement getSliderButton()
public void setSliderButton(HTMLElement element)
element - The element to be used in rendering the slider scrollbar buttons.public boolean isVertical()
public void setVertical(boolean _v)
_v - Set to true if the scrollbar is drawn vertically, false otherwise.public String getEncodedPath()
public void setEncodedPath(String _p)
_p - The encoded path that the element uses to find its images.public boolean isButtonArrowsWhite()
public void setButtonArrowsWhite(boolean _b)
_b - Set to true if the button arrows are to be drawn white, false otherwise.public int getSize()
public void setSize(int _s)
_s - The number of rows or columns scrollbar uses when drawn.public int getTotal()
public void setTotal(int _t)
_t - The number of scrollable value.public int getScrollPos()
public void setScrollPos(int _p)
_p - The scrollbar slider position.public int getLineUpPos()
public void setLineUpPos(int _p)
_p - The scrollbar up button position.public int getLineDownPos()
public void setLineDownPos(int _p)
_p - The scrollbar Down button position.public int getPageUpPos()
public void setPageUpPos(int _p)
_p - The scrollbar page up position.public int getPageDownPos()
public void setPageDownPos(int _p)
_p - The scrollbar page down position.public int getScreenPos()
public void setScreenPos(int _s)
_s - The screen location of the scrollbar.public String getFormID()
public void setFormID(String _f)
_f - The form ID to use to submit slider drag command.public boolean isScripting()
public void setScripting(boolean _b)
_b - Set to true if scripting, false otherwise.public String toString()
toString in class Objectpublic void setClassName(String value)
HTMLElement
setClassName in class HTMLElementvalue - The className to setpublic void render(StringBuffer buffer)
render in class HTMLElementbuffer -
|
HATS 7.5.1 (201005110649) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||