|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MenuItemNodeInterface
MenuItemNodeInterface defines methods for providing and getting menu item properties.
MenuItem
Method Summary | |
---|---|
java.lang.String |
getAccessKey()
Gets the accesskey. |
java.lang.String |
getAlternateText()
Gets the alternate text. |
java.lang.String |
getBottomLeftImage()
Returns the image displayed on the left bottom side of the button |
java.lang.String |
getBottomRightImage()
Returns the image displayed on the bottom right side of the button |
java.lang.String |
getCustomAction()
|
java.lang.String |
getDisabledImage()
Returns the disabledImage |
int |
getHeight()
Gets the height of the MenuBar/Table in pixels. |
int |
getHeightPercentage()
Gets the height of the Table/MenuBar as a percentage |
java.lang.String |
getImage()
Returns the image displayed on the button |
int |
getImagePosition()
Returns the position of the button image. |
java.lang.String |
getLabel()
Returns the label of the button |
java.lang.String |
getLeftImage()
Returns the image displayed on the left side of the button |
java.lang.String |
getOnBlur()
Gets the onBlur value. |
java.lang.String |
getOnClick()
Gets the onClick value. |
java.lang.String |
getOnFocus()
Gets the onFocus value. |
java.lang.String |
getOnKeyDown()
Gets the onkeydown value. |
java.lang.String |
getOnKeyPress()
Gets the onKeyPress value. |
java.lang.String |
getOnKeyUp()
Gets the onkeyup value. |
java.lang.String |
getOnMouseDown()
Gets the onMouseDown value. |
java.lang.String |
getOnMouseOut()
Gets the onMouseOut value. |
java.lang.String |
getOnMouseOver()
Gets the onMouseOver value. |
java.lang.String |
getOnMouseUp()
Gets the onmouseup value. |
java.lang.String |
getRightImage()
Returns the image displayed on the right side of the button |
java.lang.String |
getStyleClassPrefix()
Returns the styleClassPrefix of the button |
java.lang.String |
getStyleClassSuffix()
Returns the styleClassSuffix of the button |
int |
getTabIndex()
Gets the tabindex. |
java.lang.String |
getTarget()
getTarget returns the value of the TARGET= argument used on the anchor tags generated. |
java.lang.String |
getTitle()
Gets the title of the href. |
java.lang.String |
getTopLeftImage()
Returns the image displayed on the top left side of the button |
java.lang.String |
getTopRightImage()
Returns the image displayed on the top right side of the button |
java.lang.String |
getURL()
Returns the url associated with the button |
int |
getWidth()
Gets the width of the MenuBar/Table in pixels. |
int |
getWidthPercentage()
Gets the width of the Table/MenuBar as a percentage |
boolean |
isEnabled()
Returns the state for the current menu item. |
boolean |
isWrapped()
Returns wheather the label is wrapped or not. |
void |
setAccessKey(java.lang.String value)
Sets the accesskey. |
void |
setAlternateText(java.lang.String value)
Sets the alternate text. |
void |
setBottomLeftImage(java.lang.String image)
Sets the image displayed on the bottom left side of the button |
void |
setBottomRightImage(java.lang.String image)
Sets the image displayed on the bottom right side of the button |
void |
setCustomAction(java.lang.String customAction)
|
void |
setDisabledImage(java.lang.String image)
Sets the disabled image that will be displayed when the menu is disabled |
void |
setEnabled(boolean enabled)
Sets the state for the current menu item |
void |
setHeight(int value)
Sets the height of the Table/MenuBar in pixels. |
void |
setHeightPercentage(int value)
Sets the height of the Table/MenuBar as a percentage |
void |
setImage(java.lang.String image)
Sets the image displayed in the button |
void |
setImagePosition(int position)
Sets the image position |
void |
setLabel(java.lang.String label)
Sets the label of the button |
void |
setLeftImage(java.lang.String image)
Sets the image displayed on the left side of the button |
void |
setOnBlur(java.lang.String onblur)
Sets the onBlur event value. |
void |
setOnClick(java.lang.String onclick)
Sets the onClick event value. |
void |
setOnFocus(java.lang.String onfocus)
Sets the onFocus event value. |
void |
setOnKeyDown(java.lang.String onkeydown)
Sets the onKeyDown value |
void |
setOnKeyPress(java.lang.String onkeypress)
Sets the onKeyPress value |
void |
setOnKeyUp(java.lang.String onkeyup)
Sets the onKeyUp value |
void |
setOnMouseDown(java.lang.String mousedown)
Sets the onmouseDown event value. |
void |
setOnMouseOut(java.lang.String mouseout)
Sets the onMouseOut event value. |
void |
setOnMouseOver(java.lang.String mouseover)
Sets the onMouseOver event value. |
void |
setOnMouseUp(java.lang.String mouseup)
Sets the onmouseup event value. |
void |
setRightImage(java.lang.String image)
Sets the image displayed on the right side of the button |
void |
setStyleClassPrefix(java.lang.String styleClassPrefix)
Sets the styleClassPrefix of the button |
void |
setStyleClassSuffix(java.lang.String styleClassSuffix)
Sets the styleClassSuffix of the button |
void |
setTabIndex(int value)
Sets the tabindex. |
void |
setTarget(java.lang.String value)
Sets the value of the TARGET= argument used on the anchor tags generated. |
void |
setTitle(java.lang.String value)
Sets the title for the href. |
void |
setTopLeftImage(java.lang.String image)
Sets the image displayed on the top left side of the button |
void |
setTopRightImage(java.lang.String image)
Sets the image displayed on the top right side of the button |
void |
setURL(java.lang.String url)
Sets the url associated with the button |
void |
setWidth(int value)
Sets the width of the Table/MenuBar in pixels. |
void |
setWidthPercentage(int value)
Sets the width of the Table/MenuBar as a percentage |
void |
setWrap(boolean wrap)
Sets true or false to determine wheather the label in the <td> tag is wrapped. |
Method Detail |
---|
void setLeftImage(java.lang.String image)
image
- the name of the imagejava.lang.String getLeftImage()
void setRightImage(java.lang.String image)
image
- the name of the imagejava.lang.String getRightImage()
void setTopLeftImage(java.lang.String image)
image
- the name of the imagejava.lang.String getTopLeftImage()
image
- of the top left sidevoid setTopRightImage(java.lang.String image)
image
- the name of the imagejava.lang.String getTopRightImage()
image
- of the top right sidevoid setBottomLeftImage(java.lang.String image)
image
- the name of the imagejava.lang.String getBottomLeftImage()
image
- of the bottom left sidevoid setBottomRightImage(java.lang.String image)
image
- the name of the imagejava.lang.String getBottomRightImage()
image
- of the top left sidevoid setOnMouseOver(java.lang.String mouseover)
mouseover
- The onMouseOver valuejava.lang.String getOnMouseOver()
void setOnMouseOut(java.lang.String mouseout)
mouseout
- The onMouseOut valuejava.lang.String getOnMouseOut()
void setOnClick(java.lang.String onclick)
onclick
- The onClick valuejava.lang.String getOnClick()
void setOnKeyPress(java.lang.String onkeypress)
onkeypress
- The onKeyPressValuejava.lang.String getOnKeyPress()
void setOnBlur(java.lang.String onblur)
value
- The onBlur valuejava.lang.String getOnBlur()
void setOnFocus(java.lang.String onfocus)
value
- The onFocus valuejava.lang.String getOnFocus()
void setOnMouseDown(java.lang.String mousedown)
value
- The onMouseDown valuejava.lang.String getOnMouseDown()
void setOnMouseUp(java.lang.String mouseup)
value
- The onMouseDown valuejava.lang.String getOnMouseUp()
void setOnKeyDown(java.lang.String onkeydown)
onkeypress
- The onKeyDownjava.lang.String getOnKeyDown()
void setOnKeyUp(java.lang.String onkeyup)
onkeyup
- The onKeyUp valuejava.lang.String getOnKeyUp()
void setLabel(java.lang.String label)
label
- the label of the buttonjava.lang.String getLabel()
void setWidth(int value)
value
- The width in pixelsint getWidth()
void setWidthPercentage(int value)
value
- The width as a percentageint getWidthPercentage()
void setHeight(int value)
value
- The height in pixelsint getHeight()
void setHeightPercentage(int value)
value
- The height as a percentageint getHeightPercentage()
java.lang.String getURL()
void setURL(java.lang.String url)
url
- the url associated with the buttonjava.lang.String getTarget()
void setTarget(java.lang.String value)
value
- The value of the TARGET= argument on the anchor tagvoid setTabIndex(int value)
tabindex
- The FormElement tabindexint getTabIndex()
void setAccessKey(java.lang.String value)
accesskey
- The accesskeyjava.lang.String getAccessKey()
void setTitle(java.lang.String value)
value
- The title of the hrefjava.lang.String getTitle()
java.lang.String getImage()
void setImage(java.lang.String image)
image
- image displayed in the buttonboolean isWrapped()
void setWrap(boolean wrap)
wrap
- true if label is wrapped; false otherwiseint getImagePosition()
void setImagePosition(int position)
position
- of the imagevoid setStyleClassPrefix(java.lang.String styleClassPrefix)
styleClassPrefix
- The styleClassPrefix to use for the buttonjava.lang.String getStyleClassPrefix()
void setStyleClassSuffix(java.lang.String styleClassSuffix)
styleClassSuffix
- The styleClassSuffix to use for the buttonjava.lang.String getStyleClassSuffix()
void setCustomAction(java.lang.String customAction)
java.lang.String getCustomAction()
void setAlternateText(java.lang.String value)
value
- The alternate textjava.lang.String getAlternateText()
java.lang.String getDisabledImage()
void setDisabledImage(java.lang.String image)
image
- image displayed when the menu item is disabledboolean isEnabled()
void setEnabled(boolean enabled)
enabled
- state of the current menu item
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |