|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.servlet.tbeans.models.SimpleMenuItemNode
public class SimpleMenuItemNode
SimpleMenuItemNode extends Node and provides an implementation of MenuItemNodeInterface
| Field Summary | |
|---|---|
static int |
LEFT
|
static java.lang.String |
RB_KEY
|
static int |
RIGHT
|
| Constructor Summary | |
|---|---|
SimpleMenuItemNode()
|
|
| 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. |
| Methods inherited from class com.sas.servlet.tbeans.models.Node |
|---|
addItems, getIndex, getNodeExpandedText, getNodeText, getNodeType, getNodeTypes, getObjectData, isExternalUpdateSupported, setExternalUpdateSupported, setNodeExpandedText, setNodeText, setNodeType, setObjectData, toString |
| Field Detail |
|---|
public static final java.lang.String RB_KEY
public static final int RIGHT
public static final int LEFT
| Constructor Detail |
|---|
public SimpleMenuItemNode()
| Method Detail |
|---|
public void setLeftImage(java.lang.String image)
setLeftImage in interface MenuItemNodeInterfaceimage - the name of the imagepublic java.lang.String getLeftImage()
getLeftImage in interface MenuItemNodeInterfacepublic void setRightImage(java.lang.String image)
setRightImage in interface MenuItemNodeInterfaceimage - the name of the imagepublic java.lang.String getRightImage()
getRightImage in interface MenuItemNodeInterfacepublic void setTopLeftImage(java.lang.String image)
setTopLeftImage in interface MenuItemNodeInterfaceimage - the name of the imagepublic java.lang.String getTopLeftImage()
getTopLeftImage in interface MenuItemNodeInterfaceimage - of the top left sidepublic void setTopRightImage(java.lang.String image)
setTopRightImage in interface MenuItemNodeInterfaceimage - the name of the imagepublic java.lang.String getTopRightImage()
getTopRightImage in interface MenuItemNodeInterfaceimage - of the top right sidepublic void setBottomLeftImage(java.lang.String image)
setBottomLeftImage in interface MenuItemNodeInterfaceimage - the name of the imagepublic java.lang.String getBottomLeftImage()
getBottomLeftImage in interface MenuItemNodeInterfaceimage - of the bottom left sidepublic void setBottomRightImage(java.lang.String image)
setBottomRightImage in interface MenuItemNodeInterfaceimage - the name of the imagepublic java.lang.String getBottomRightImage()
getBottomRightImage in interface MenuItemNodeInterfaceimage - of the top left sidepublic void setOnMouseOver(java.lang.String mouseover)
setOnMouseOver in interface MenuItemNodeInterfacemouseover - The onMouseOver valuepublic java.lang.String getOnMouseOver()
getOnMouseOver in interface MenuItemNodeInterfacepublic void setOnMouseOut(java.lang.String mouseout)
setOnMouseOut in interface MenuItemNodeInterfacemouseout - The onMouseOut valuepublic java.lang.String getOnMouseOut()
getOnMouseOut in interface MenuItemNodeInterfacepublic void setOnClick(java.lang.String onclick)
setOnClick in interface MenuItemNodeInterfaceonclick - The onClick valuepublic java.lang.String getOnClick()
getOnClick in interface MenuItemNodeInterfacepublic void setOnKeyPress(java.lang.String onkeypress)
setOnKeyPress in interface MenuItemNodeInterfaceonkeypress - The onKeyPressValuepublic java.lang.String getOnKeyPress()
getOnKeyPress in interface MenuItemNodeInterfacepublic void setOnBlur(java.lang.String onblur)
setOnBlur in interface MenuItemNodeInterfacevalue - The onBlur valuepublic java.lang.String getOnBlur()
getOnBlur in interface MenuItemNodeInterfacepublic void setOnFocus(java.lang.String onfocus)
setOnFocus in interface MenuItemNodeInterfacevalue - The onFocus valuepublic java.lang.String getOnFocus()
getOnFocus in interface MenuItemNodeInterfacepublic void setOnMouseDown(java.lang.String mousedown)
setOnMouseDown in interface MenuItemNodeInterfacevalue - The onMouseDown valuepublic java.lang.String getOnMouseDown()
getOnMouseDown in interface MenuItemNodeInterfacepublic void setOnMouseUp(java.lang.String mouseup)
setOnMouseUp in interface MenuItemNodeInterfacevalue - The onMouseDown valuepublic java.lang.String getOnMouseUp()
getOnMouseUp in interface MenuItemNodeInterfacepublic void setOnKeyDown(java.lang.String onkeydown)
setOnKeyDown in interface MenuItemNodeInterfaceonkeypress - The onKeyDownpublic java.lang.String getOnKeyDown()
getOnKeyDown in interface MenuItemNodeInterfacepublic void setOnKeyUp(java.lang.String onkeyup)
setOnKeyUp in interface MenuItemNodeInterfaceonkeyup - The onKeyUp valuepublic java.lang.String getOnKeyUp()
getOnKeyUp in interface MenuItemNodeInterfacepublic void setLabel(java.lang.String label)
setLabel in interface MenuItemNodeInterfacelabel - the label of the buttonpublic java.lang.String getLabel()
getLabel in interface MenuItemNodeInterfacepublic void setWidth(int value)
setWidth in interface MenuItemNodeInterfacevalue - The width in pixelspublic int getWidth()
getWidth in interface MenuItemNodeInterfacepublic void setWidthPercentage(int value)
setWidthPercentage in interface MenuItemNodeInterfacevalue - The width as a percentagepublic int getWidthPercentage()
getWidthPercentage in interface MenuItemNodeInterfacepublic void setHeight(int value)
setHeight in interface MenuItemNodeInterfacevalue - The height in pixelspublic int getHeight()
getHeight in interface MenuItemNodeInterfacepublic void setHeightPercentage(int value)
setHeightPercentage in interface MenuItemNodeInterfacevalue - The height as a percentagepublic int getHeightPercentage()
getHeightPercentage in interface MenuItemNodeInterfacepublic java.lang.String getURL()
getURL in interface MenuItemNodeInterfacepublic void setURL(java.lang.String url)
setURL in interface MenuItemNodeInterfaceurl - the url associated with the buttonpublic java.lang.String getTarget()
getTarget in interface MenuItemNodeInterfacepublic void setTarget(java.lang.String value)
setTarget in interface MenuItemNodeInterfacevalue - The value of the TARGET= argument on the anchor tagpublic void setTabIndex(int value)
setTabIndex in interface MenuItemNodeInterfacetabindex - The FormElement tabindexpublic int getTabIndex()
getTabIndex in interface MenuItemNodeInterfacepublic void setAccessKey(java.lang.String value)
setAccessKey in interface MenuItemNodeInterfaceaccesskey - The accesskeypublic java.lang.String getAccessKey()
getAccessKey in interface MenuItemNodeInterfacepublic void setTitle(java.lang.String value)
setTitle in interface MenuItemNodeInterfacevalue - The title of the hrefpublic java.lang.String getTitle()
getTitle in interface MenuItemNodeInterfacepublic java.lang.String getImage()
getImage in interface MenuItemNodeInterfacepublic void setImage(java.lang.String image)
setImage in interface MenuItemNodeInterfaceimage - image displayed in the buttonpublic boolean isWrapped()
isWrapped in interface MenuItemNodeInterfacepublic void setWrap(boolean wrap)
setWrap in interface MenuItemNodeInterfacewrap - true if label is wrapped; false otherwisepublic int getImagePosition()
getImagePosition in interface MenuItemNodeInterfacepublic void setImagePosition(int position)
setImagePosition in interface MenuItemNodeInterfaceposition - of the imagepublic void setStyleClassPrefix(java.lang.String styleClassPrefix)
setStyleClassPrefix in interface MenuItemNodeInterfacestyleClassPrefix - The styleClassPrefix to use for the buttonpublic java.lang.String getStyleClassPrefix()
getStyleClassPrefix in interface MenuItemNodeInterfacepublic void setStyleClassSuffix(java.lang.String styleClassSuffix)
setStyleClassSuffix in interface MenuItemNodeInterfacestyleClassSuffix - The styleClassSuffix to use for the buttonpublic java.lang.String getStyleClassSuffix()
getStyleClassSuffix in interface MenuItemNodeInterfacepublic void setCustomAction(java.lang.String customAction)
setCustomAction in interface MenuItemNodeInterfacepublic java.lang.String getCustomAction()
getCustomAction in interface MenuItemNodeInterfacepublic void setAlternateText(java.lang.String value)
setAlternateText in interface MenuItemNodeInterfacevalue - The alternate textpublic java.lang.String getAlternateText()
getAlternateText in interface MenuItemNodeInterfacepublic java.lang.String getDisabledImage()
getDisabledImage in interface MenuItemNodeInterfacepublic void setDisabledImage(java.lang.String image)
setDisabledImage in interface MenuItemNodeInterfaceimage - image displayed when the menu item is disabledpublic boolean isEnabled()
isEnabled in interface MenuItemNodeInterfacepublic void setEnabled(boolean enabled)
setEnabled in interface MenuItemNodeInterfaceenabled - state of the current menu item
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||