|
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 MenuItemNodeInterface
image
- the name of the imagepublic java.lang.String getLeftImage()
getLeftImage
in interface MenuItemNodeInterface
public void setRightImage(java.lang.String image)
setRightImage
in interface MenuItemNodeInterface
image
- the name of the imagepublic java.lang.String getRightImage()
getRightImage
in interface MenuItemNodeInterface
public void setTopLeftImage(java.lang.String image)
setTopLeftImage
in interface MenuItemNodeInterface
image
- the name of the imagepublic java.lang.String getTopLeftImage()
getTopLeftImage
in interface MenuItemNodeInterface
image
- of the top left sidepublic void setTopRightImage(java.lang.String image)
setTopRightImage
in interface MenuItemNodeInterface
image
- the name of the imagepublic java.lang.String getTopRightImage()
getTopRightImage
in interface MenuItemNodeInterface
image
- of the top right sidepublic void setBottomLeftImage(java.lang.String image)
setBottomLeftImage
in interface MenuItemNodeInterface
image
- the name of the imagepublic java.lang.String getBottomLeftImage()
getBottomLeftImage
in interface MenuItemNodeInterface
image
- of the bottom left sidepublic void setBottomRightImage(java.lang.String image)
setBottomRightImage
in interface MenuItemNodeInterface
image
- the name of the imagepublic java.lang.String getBottomRightImage()
getBottomRightImage
in interface MenuItemNodeInterface
image
- of the top left sidepublic void setOnMouseOver(java.lang.String mouseover)
setOnMouseOver
in interface MenuItemNodeInterface
mouseover
- The onMouseOver valuepublic java.lang.String getOnMouseOver()
getOnMouseOver
in interface MenuItemNodeInterface
public void setOnMouseOut(java.lang.String mouseout)
setOnMouseOut
in interface MenuItemNodeInterface
mouseout
- The onMouseOut valuepublic java.lang.String getOnMouseOut()
getOnMouseOut
in interface MenuItemNodeInterface
public void setOnClick(java.lang.String onclick)
setOnClick
in interface MenuItemNodeInterface
onclick
- The onClick valuepublic java.lang.String getOnClick()
getOnClick
in interface MenuItemNodeInterface
public void setOnKeyPress(java.lang.String onkeypress)
setOnKeyPress
in interface MenuItemNodeInterface
onkeypress
- The onKeyPressValuepublic java.lang.String getOnKeyPress()
getOnKeyPress
in interface MenuItemNodeInterface
public void setOnBlur(java.lang.String onblur)
setOnBlur
in interface MenuItemNodeInterface
value
- The onBlur valuepublic java.lang.String getOnBlur()
getOnBlur
in interface MenuItemNodeInterface
public void setOnFocus(java.lang.String onfocus)
setOnFocus
in interface MenuItemNodeInterface
value
- The onFocus valuepublic java.lang.String getOnFocus()
getOnFocus
in interface MenuItemNodeInterface
public void setOnMouseDown(java.lang.String mousedown)
setOnMouseDown
in interface MenuItemNodeInterface
value
- The onMouseDown valuepublic java.lang.String getOnMouseDown()
getOnMouseDown
in interface MenuItemNodeInterface
public void setOnMouseUp(java.lang.String mouseup)
setOnMouseUp
in interface MenuItemNodeInterface
value
- The onMouseDown valuepublic java.lang.String getOnMouseUp()
getOnMouseUp
in interface MenuItemNodeInterface
public void setOnKeyDown(java.lang.String onkeydown)
setOnKeyDown
in interface MenuItemNodeInterface
onkeypress
- The onKeyDownpublic java.lang.String getOnKeyDown()
getOnKeyDown
in interface MenuItemNodeInterface
public void setOnKeyUp(java.lang.String onkeyup)
setOnKeyUp
in interface MenuItemNodeInterface
onkeyup
- The onKeyUp valuepublic java.lang.String getOnKeyUp()
getOnKeyUp
in interface MenuItemNodeInterface
public void setLabel(java.lang.String label)
setLabel
in interface MenuItemNodeInterface
label
- the label of the buttonpublic java.lang.String getLabel()
getLabel
in interface MenuItemNodeInterface
public void setWidth(int value)
setWidth
in interface MenuItemNodeInterface
value
- The width in pixelspublic int getWidth()
getWidth
in interface MenuItemNodeInterface
public void setWidthPercentage(int value)
setWidthPercentage
in interface MenuItemNodeInterface
value
- The width as a percentagepublic int getWidthPercentage()
getWidthPercentage
in interface MenuItemNodeInterface
public void setHeight(int value)
setHeight
in interface MenuItemNodeInterface
value
- The height in pixelspublic int getHeight()
getHeight
in interface MenuItemNodeInterface
public void setHeightPercentage(int value)
setHeightPercentage
in interface MenuItemNodeInterface
value
- The height as a percentagepublic int getHeightPercentage()
getHeightPercentage
in interface MenuItemNodeInterface
public java.lang.String getURL()
getURL
in interface MenuItemNodeInterface
public void setURL(java.lang.String url)
setURL
in interface MenuItemNodeInterface
url
- the url associated with the buttonpublic java.lang.String getTarget()
getTarget
in interface MenuItemNodeInterface
public void setTarget(java.lang.String value)
setTarget
in interface MenuItemNodeInterface
value
- The value of the TARGET= argument on the anchor tagpublic void setTabIndex(int value)
setTabIndex
in interface MenuItemNodeInterface
tabindex
- The FormElement tabindexpublic int getTabIndex()
getTabIndex
in interface MenuItemNodeInterface
public void setAccessKey(java.lang.String value)
setAccessKey
in interface MenuItemNodeInterface
accesskey
- The accesskeypublic java.lang.String getAccessKey()
getAccessKey
in interface MenuItemNodeInterface
public void setTitle(java.lang.String value)
setTitle
in interface MenuItemNodeInterface
value
- The title of the hrefpublic java.lang.String getTitle()
getTitle
in interface MenuItemNodeInterface
public java.lang.String getImage()
getImage
in interface MenuItemNodeInterface
public void setImage(java.lang.String image)
setImage
in interface MenuItemNodeInterface
image
- image displayed in the buttonpublic boolean isWrapped()
isWrapped
in interface MenuItemNodeInterface
public void setWrap(boolean wrap)
setWrap
in interface MenuItemNodeInterface
wrap
- true if label is wrapped; false otherwisepublic int getImagePosition()
getImagePosition
in interface MenuItemNodeInterface
public void setImagePosition(int position)
setImagePosition
in interface MenuItemNodeInterface
position
- of the imagepublic void setStyleClassPrefix(java.lang.String styleClassPrefix)
setStyleClassPrefix
in interface MenuItemNodeInterface
styleClassPrefix
- The styleClassPrefix to use for the buttonpublic java.lang.String getStyleClassPrefix()
getStyleClassPrefix
in interface MenuItemNodeInterface
public void setStyleClassSuffix(java.lang.String styleClassSuffix)
setStyleClassSuffix
in interface MenuItemNodeInterface
styleClassSuffix
- The styleClassSuffix to use for the buttonpublic java.lang.String getStyleClassSuffix()
getStyleClassSuffix
in interface MenuItemNodeInterface
public void setCustomAction(java.lang.String customAction)
setCustomAction
in interface MenuItemNodeInterface
public java.lang.String getCustomAction()
getCustomAction
in interface MenuItemNodeInterface
public void setAlternateText(java.lang.String value)
setAlternateText
in interface MenuItemNodeInterface
value
- The alternate textpublic java.lang.String getAlternateText()
getAlternateText
in interface MenuItemNodeInterface
public java.lang.String getDisabledImage()
getDisabledImage
in interface MenuItemNodeInterface
public void setDisabledImage(java.lang.String image)
setDisabledImage
in interface MenuItemNodeInterface
image
- image displayed when the menu item is disabledpublic boolean isEnabled()
isEnabled
in interface MenuItemNodeInterface
public void setEnabled(boolean enabled)
setEnabled
in interface MenuItemNodeInterface
enabled
- state of the current menu item
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |