|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.portal.coplet.CopletDataFeatures
This class contains constants and utility methods for the standard features of a coplet.
Field Summary | |
static String |
ATTRIBUTE_FULLSCREEN
This is the name of the coplet data attribute containing a boolean value indicating if the coplet supports the full-screen mode. |
static String |
ATTRIBUTE_MANDATORY
This is the name of the coplet data attribute containing a boolean value indicating if a user is allowed to remove the coplet (default is false meaning it's not mandatory and the user is allowed to remove it. |
static String |
ATTRIBUTE_SIZABLE
This is the name of the coplet data attribute containing a boolean value indicating if the user is allowed to resize the coplet. |
Constructor Summary | |
CopletDataFeatures()
|
Method Summary | |
static Object |
getAttributeValue(CopletData data,
String key,
Object defaultValue)
|
static boolean |
isMandatory(CopletData data)
Is this coplet mandatory? |
static boolean |
isSizable(CopletData data)
Is this coplet sizable? |
static void |
setMandatory(CopletData data,
boolean value)
|
static void |
setSizable(CopletData data,
boolean value)
|
static boolean |
supportsFullScreenMode(CopletData data)
Does this coplet support the full screen mode? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String ATTRIBUTE_SIZABLE
public static final String ATTRIBUTE_MANDATORY
public static final String ATTRIBUTE_FULLSCREEN
Constructor Detail |
public CopletDataFeatures()
Method Detail |
public static Object getAttributeValue(CopletData data, String key, Object defaultValue)
public static boolean isSizable(CopletData data)
public static boolean isMandatory(CopletData data)
public static boolean supportsFullScreenMode(CopletData data)
public static void setSizable(CopletData data, boolean value)
public static void setMandatory(CopletData data, boolean value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |