|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletConfiguration
A representation of a configuration for a Google Gadget.
Only the main implementation (PortletConfigurationImpl), properly uses the full interface.
Method Summary | |
---|---|
com.atlassian.gadgets.dashboard.Color |
getColor()
Returns the color to use when rendering the Chrome of this gadget. |
Integer |
getColumn()
Represents the column that the configured portlet resides in. |
Long |
getDashboardPageId()
Provides the dashboard page id. |
URI |
getGadgetURI()
Returns the URI pointing to the Gadget XML for this particular portlet. |
Long |
getId()
Return the id of the PortletConfiguration. |
Integer |
getRow()
Represents the row that the configured portlet resides in. |
Map<String,String> |
getUserPrefs()
An unmodifiable map of user preferences stored for this gadget. |
void |
setColor(com.atlassian.gadgets.dashboard.Color color)
Set the color of the chrome for a gadget. |
void |
setColumn(Integer column)
Sets the column for the Portlet, effectively moving the portlet left or right on the page. |
void |
setDashboardPageId(Long portalPageId)
Sets the dashboard page id. |
void |
setRow(Integer row)
Sets the row for the Portlet, effectively moving the portlet up or down on the page. |
void |
setUserPrefs(Map<String,String> userPrefs)
Sets the userPreferences for this portletconfig. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
Long getId()
Integer getColumn()
void setColumn(Integer column)
column
- the column number starting from 1.Integer getRow()
void setRow(Integer row)
row
- the row number starting from 1.Long getDashboardPageId()
void setDashboardPageId(Long portalPageId)
portalPageId
- the dashboard page id.URI getGadgetURI()
http://code.google.com/apis/gadgets/docs/reference.html
com.atlassian.gadgets.dashboard.Color getColor()
void setColor(com.atlassian.gadgets.dashboard.Color color)
color
- the color of the chrome for a gadget.Map<String,String> getUserPrefs()
http://code.google.com/apis/gadgets/docs/reference.html#Userprefs_Ref
void setUserPrefs(Map<String,String> userPrefs)
userPrefs
- A map of key value pairs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |