|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.portal.coplet.CopletInstanceData
A coplet instance data describes an instance of a coplet. Sizing: A coplet can have different sizes: SIZE_NORMAL - this is the normal size, it means that the coplet shares it's space with other coplets. SIZE_MINIMIZED - the coplet is minimized. Usually in this state only the title of the coplet is rendered. SIZE_FULLSCREEN - the coplet is the only coplet on the screen. SIZE_MAXPAGE - the coplet gets the most available space, but still shares its space with other coplets, e.g. a navigation etc. TODO - Remove dependency to pluto
Field Summary | |
protected Map |
attributes
Persistet attributes. |
protected CopletData |
copletData
|
protected String |
id
|
protected PreferenceSetImpl |
preferences
Portlet preferences. |
protected int |
size
The size of the coplet. |
static int |
SIZE_FULLSCREEN
|
static int |
SIZE_MAXPAGED
|
static int |
SIZE_MINIMIZED
|
static int |
SIZE_NORMAL
|
protected Map |
temporaryAttributes
Temporary attributes are not persisted. |
protected String |
title
The title of the coplet. |
Constructor Summary | |
CopletInstanceData()
Constructor. |
|
CopletInstanceData(String id)
Constructor. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SIZE_MINIMIZED
public static final int SIZE_NORMAL
public static final int SIZE_MAXPAGED
public static final int SIZE_FULLSCREEN
protected final String id
protected CopletData copletData
protected Map attributes
protected Map temporaryAttributes
protected PreferenceSetImpl preferences
protected String title
protected int size
Constructor Detail |
public CopletInstanceData()
public CopletInstanceData(String id)
Method Detail |
public String getId()
public CopletData getCopletData()
public void setCopletData(CopletData copletData)
copletData
- The copletData to setpublic Object getAttribute(String key)
public void setAttribute(String key, Object value)
public Object removeAttribute(String key)
public Map getAttributes()
public final Collection getCastorAttributes()
public void addAttribute(AttributedMapItem item)
public Object getTemporaryAttribute(String key)
public void setTemporaryAttribute(String key, Object value)
public Object removeTemporaryAttribute(String key)
public Map getTemporaryAttributes()
public String getTitle()
public String getInstanceTitle()
public void setTitle(String title)
public void setPreferences(PreferenceSetImpl preferences)
public org.apache.pluto.om.common.PreferenceSet getPreferences()
public org.apache.pluto.om.common.PreferenceSet getCastorPreferences()
public void setCastorPreferences(org.apache.pluto.om.common.PreferenceSet castorPreferences)
protected Object clone() throws CloneNotSupportedException
CloneNotSupportedException
Object.clone()
public CopletInstanceData copy()
public int getSize()
public void setSize(int size)
public String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |