net.sf.navigator.menu
Class MenuBase

java.lang.Object
  extended by net.sf.navigator.menu.MenuBase
All Implemented Interfaces:
Component
Direct Known Subclasses:
MenuComponent

public abstract class MenuBase
extends Object
implements Component

Version:
Author:
ssayles, mraible

Field Summary
protected  String action
          Holds value of property action, that is, Struts Logical Action Name.
protected  String align
          Align menu 'left','right','top','bottom' ...and other alignment of particular menu system
protected  String altImage
          Holds value of property altImage.
protected  String description
          Holds value of property description.
protected  String forward
          Holds value of property forward.
protected  String height
          Holds value of property height.
protected  String image
          Holds value of property image.
protected  String location
          Holds value of property location.
protected  String module
          Holds value of property module; a Struts module prefix that overrides the current module.
protected  String name
          Holds value of property name.
protected  String onclick
          Holds value of property onclick.
protected  String onContextMenu
          Holds value of property onContextMenu
protected  String ondblclick
          Holds value of property ondblclick.
protected  String onmouseout
          Holds value of property onmouseout.
protected  String onmouseover
          Holds value of property onmouseover.
protected  String page
          Holds value of property page.
protected  String roles
          Holds value of property roles.
protected  String target
          Holds value of property target.
protected  String title
          Holds value of property title.
protected  String toolTip
          Holds value of property toolTip.
protected  String width
          Holds value of property width.
 
Constructor Summary
MenuBase()
           
 
Method Summary
 String getAction()
          Returns the value for action.
 String getAlign()
          Returns the value for align.
 String getAltImage()
          Getter for property altImage.
 String getDescription()
          Getter for property description.
 String getForward()
           
 String getHeight()
           
 String getImage()
          Getter for property image.
 String getLocation()
          Getter for property location.
 String getModule()
           
 String getName()
          Getter for property name.
 String getOnclick()
          Getter for property onclick.
 String getOnContextMenu()
           
 String getOndblclick()
          Returns the ondblclick.
 String getOnmouseout()
          Getter for property onmouseout.
 String getOnmouseover()
          Getter for property onmouseover.
 String getPage()
          Returns the value for page.
 String getRoles()
          Returns the roles.
 String getTarget()
          Getter for property target.
 String getTitle()
          Getter for property title.
 String getToolTip()
          Getter for property toolTip.
 String getUrl()
           
 String getWidth()
           
 void setAction(String action)
          Sets the value for action.
 void setAlign(String align)
          Sets the value for align.
 void setAltImage(String altImage)
          Setter for property altImage.
 void setDescription(String description)
          Setter for property description.
 void setForward(String forward)
          Sets the forward.
 void setHeight(String height)
           
 void setImage(String image)
          Setter for property image.
 void setLocation(String location)
          Setter for property location.
 void setModule(String module)
           
 void setName(String name)
          Setter for property name.
 void setOnclick(String onclick)
          Setter for property onclick.
 void setOnContextMenu(String string)
           
 void setOndblclick(String ondblclick)
          Sets the ondblclick.
 void setOnmouseout(String onmouseout)
          Setter for property onmouseout.
 void setOnmouseover(String onmouseover)
          Setter for property onmouseover.
 void setPage(String page)
          Sets the value for page.
 void setRoles(String roles)
          Sets the roles.
 void setTarget(String target)
          Setter for property target.
 void setTitle(String title)
          Setter for property title.
 void setToolTip(String toolTip)
          Setter for property toolTip.
 void setUrl(String url)
           
 void setWidth(String width)
          Sets the width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

action

protected String action
Holds value of property action, that is, Struts Logical Action Name.


align

protected String align
Align menu 'left','right','top','bottom' ...and other alignment of particular menu system


altImage

protected String altImage
Holds value of property altImage.


description

protected String description
Holds value of property description.


forward

protected String forward
Holds value of property forward.


height

protected String height
Holds value of property height.


image

protected String image
Holds value of property image.


location

protected String location
Holds value of property location.


name

protected String name
Holds value of property name.


onclick

protected String onclick
Holds value of property onclick.


ondblclick

protected String ondblclick
Holds value of property ondblclick.


onmouseout

protected String onmouseout
Holds value of property onmouseout.


onmouseover

protected String onmouseover
Holds value of property onmouseover.


page

protected String page
Holds value of property page.


roles

protected String roles
Holds value of property roles.


target

protected String target
Holds value of property target.


title

protected String title
Holds value of property title.


toolTip

protected String toolTip
Holds value of property toolTip.


width

protected String width
Holds value of property width.


onContextMenu

protected String onContextMenu
Holds value of property onContextMenu


module

protected String module
Holds value of property module; a Struts module prefix that overrides the current module.

The default module is specified by "". Any non-default module should begin with "/".

Constructor Detail

MenuBase

public MenuBase()
Method Detail

setAction

public void setAction(String action)
Sets the value for action.

Parameters:
action - New value of property action.

getAction

public String getAction()
Returns the value for action.

Returns:
Value of property action.

getAlign

public String getAlign()
Returns the value for align.

Returns:
Value of property align.

setAlign

public void setAlign(String align)
Sets the value for align.

Parameters:
align - New value of property align.

setAltImage

public void setAltImage(String altImage)
Setter for property altImage.

Parameters:
altImage - New value of property altImage.

getAltImage

public String getAltImage()
Getter for property altImage.

Returns:
Value of property altImage.

setDescription

public void setDescription(String description)
Setter for property description.

Parameters:
description - New value of property description.

getDescription

public String getDescription()
Getter for property description.

Returns:
Value of property description.

setForward

public void setForward(String forward)
Sets the forward.

Parameters:
forward - The forward to set

getForward

public String getForward()
Returns:
String

setHeight

public void setHeight(String height)
Parameters:
height -

getHeight

public String getHeight()
Returns:

setImage

public void setImage(String image)
Setter for property image.

Parameters:
image - New value of property image.

getImage

public String getImage()
Getter for property image.

Returns:
Value of property image.

setLocation

public void setLocation(String location)
Setter for property location.

Parameters:
location - New value of property location.

getLocation

public String getLocation()
Getter for property location.

Returns:
Value of property location.

setName

public void setName(String name)
Setter for property name.

Specified by:
setName in interface Component
Parameters:
name - New value of property name.

getName

public String getName()
Getter for property name.

Specified by:
getName in interface Component
Returns:
Value of property name.

setOnclick

public void setOnclick(String onclick)
Setter for property onclick.

Parameters:
onclick - New value of property onclick.

getOnclick

public String getOnclick()
Getter for property onclick.

Returns:
Value of property onclick.

setOnmouseout

public void setOnmouseout(String onmouseout)
Setter for property onmouseout.

Parameters:
onmouseout - New value of property onmouseout.

getOnmouseout

public String getOnmouseout()
Getter for property onmouseout.

Returns:
Value of property onmouseout.

setOnmouseover

public void setOnmouseover(String onmouseover)
Setter for property onmouseover.

Parameters:
onmouseover - New value of property onmouseover.

getOnmouseover

public String getOnmouseover()
Getter for property onmouseover.

Returns:
Value of property onmouseover.

setPage

public void setPage(String page)
Sets the value for page.

Parameters:
page - New value of property page.

getPage

public String getPage()
Returns the value for page.

Returns:
Value of property page.

setRoles

public void setRoles(String roles)
Sets the roles.

Parameters:
roles - The roles to set

getRoles

public String getRoles()
Returns the roles.

Returns:
String

setTarget

public void setTarget(String target)
Setter for property target.

Parameters:
target - New value of property target.

getTarget

public String getTarget()
Getter for property target.

Returns:
Value of property target.

setTitle

public void setTitle(String title)
Setter for property title.

Parameters:
title - New value of property title.

getTitle

public String getTitle()
Getter for property title.

Returns:
Value of property title.

setToolTip

public void setToolTip(String toolTip)
Setter for property toolTip.

Parameters:
toolTip - New value of property toolTip.

getToolTip

public String getToolTip()
Getter for property toolTip.

Returns:
Value of property toolTip.

setUrl

public void setUrl(String url)
Parameters:
url -

getUrl

public String getUrl()
Returns:

setWidth

public void setWidth(String width)
Sets the width.

Parameters:
width - The width to set

getWidth

public String getWidth()
Returns:
String

getOnContextMenu

public String getOnContextMenu()
Returns:

setOnContextMenu

public void setOnContextMenu(String string)
Parameters:
string -

getOndblclick

public String getOndblclick()
Returns the ondblclick.

Returns:
String

setOndblclick

public void setOndblclick(String ondblclick)
Sets the ondblclick.

Parameters:
ondblclick - The ondblclick to set

getModule

public String getModule()

setModule

public void setModule(String module)


Copyright © 2003-2007 SourceForge. All Rights Reserved.