|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface allows implementing portlets to modify the behavior of their PortletControl manager by specifically allowing or refusing window manipulation actions. If the given PortletControl implements these actions, it must use this information.
Method Summary | |
boolean |
allowClose(org.apache.turbine.util.RunData rundata)
Returns true if the portlet allows the use to remove it from its portlat page |
boolean |
allowCustomize(org.apache.turbine.util.RunData rundata)
Returns true if the portlet supports customization of its options |
boolean |
allowInfo(org.apache.turbine.util.RunData rundata)
Returns true if the portlet allows the manager to link to a information page about this portlet |
boolean |
allowMaximize(org.apache.turbine.util.RunData rundata)
Returns true if the portlet allows the user to maximize it, ie use all the display space allowed to portlets in the given pane |
boolean |
allowMinimize(org.apache.turbine.util.RunData rundata)
Returns true if the portlet allows the user to minimize it. |
boolean |
allowPrintFriendly(org.apache.turbine.util.RunData rundata)
Returns true if the portlet allows the user to display it in print friendly format. |
boolean |
isClosed(org.apache.turbine.util.RunData data)
Returns true if this portlet is currently closed |
boolean |
isMinimized(org.apache.turbine.util.RunData data)
Returns true if this portlet is currently minimized |
void |
setClosed(boolean closed,
org.apache.turbine.util.RunData data)
Toggles the portlet state between closed and normal |
void |
setMinimized(boolean minimized,
org.apache.turbine.util.RunData data)
Toggles the portlet state between minimized and normal |
Method Detail |
public boolean allowClose(org.apache.turbine.util.RunData rundata)
rundata
- the RunData object for the current requestpublic boolean isClosed(org.apache.turbine.util.RunData data)
public void setClosed(boolean closed, org.apache.turbine.util.RunData data)
data
- the RunData for this requestpublic boolean allowInfo(org.apache.turbine.util.RunData rundata)
rundata
- the RunData object for the current requestpublic boolean allowCustomize(org.apache.turbine.util.RunData rundata)
rundata
- the RunData object for the current requestpublic boolean allowMaximize(org.apache.turbine.util.RunData rundata)
rundata
- the RunData object for the current requestpublic boolean allowMinimize(org.apache.turbine.util.RunData rundata)
rundata
- the RunData object for the current requestpublic boolean isMinimized(org.apache.turbine.util.RunData data)
public void setMinimized(boolean minimized, org.apache.turbine.util.RunData data)
minimized
- the new portlet statedata
- the RunData for this requestpublic boolean allowPrintFriendly(org.apache.turbine.util.RunData rundata)
rundata
- the RunData object for the current request
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |