|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MenuDisplayer
Field Summary | |
---|---|
static String |
_SELF
|
static String |
DEFAULT_CONFIG
|
static String |
EMPTY
|
static String |
NBSP
|
Method Summary | |
---|---|
void |
display(MenuComponent menu)
|
void |
end(javax.servlet.jsp.PageContext pageContext)
Lifecycle method that should be called when the MenuDisplayer
is done being used. |
String |
getConfig()
Returns the name of the message resources bundle that contains display and/or configuration definitions. |
String |
getName()
Returns the name of the MenuDisplayer . |
PermissionsAdapter |
getPermissionsAdapter()
Getter for property permissionsAdapter. |
String |
getTarget()
Returns the target name for any hrefs that may be generated. |
void |
init(javax.servlet.jsp.PageContext pageContext,
MenuDisplayerMapping mapping)
Lifecycle method that should be called when the MenuDisplayer
is being prepared for use. |
void |
setConfig(String config)
Sets the name of the message resources bundle that contains display and/or configuration definitions. |
void |
setName(String name)
Sets the name of the MenuDisplayer |
void |
setPermissionsAdapter(PermissionsAdapter permissionsAdapter)
Setter for property permissionsAdapter. |
void |
setTarget(String target)
Setter for property target. |
Field Detail |
---|
static final String DEFAULT_CONFIG
static final String _SELF
static final String NBSP
static final String EMPTY
Method Detail |
---|
void display(MenuComponent menu) throws javax.servlet.jsp.JspException, IOException
javax.servlet.jsp.JspException
IOException
String getName()
MenuDisplayer
.
void setName(String name)
MenuDisplayer
name
- New value of property name.String getConfig()
void setConfig(String config)
config
- New value of property config.String getTarget()
void setTarget(String target)
target
- New value of property target.void init(javax.servlet.jsp.PageContext pageContext, MenuDisplayerMapping mapping)
MenuDisplayer
is being prepared for use.
pageContext
- The JSP pageContext to give the displayer access
to any resources it may need.mapping
- The menu displayer mapping used to embody the xml
definition.void end(javax.servlet.jsp.PageContext pageContext)
MenuDisplayer
is done being used.
pageContext
- The JSP pageContext to give the displayer access
to any resources it may need.PermissionsAdapter getPermissionsAdapter()
void setPermissionsAdapter(PermissionsAdapter permissionsAdapter)
permissionsAdapter
- New value of property permissionsAdapter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |