public class YUILayoutAdapterImpl extends Object implements YUILayoutAdapter
Modifier and Type | Field and Description |
---|---|
static String |
FOOTER |
static String |
HEADER |
static String |
SIDEBAR |
static String |
YUI_LAYOUT_BODY_SIZE_PROPERTY |
static String |
YUI_LAYOUT_SIDEBAR_PROPERTY |
static String |
YUI_LAYOUT_ZONES_PROPERTY |
static String |
YUI_UNIT_POSITION_PROPERTY |
static String |
YUI_UNIT_ZONE_INDEX_PROPERTY |
Constructor and Description |
---|
YUILayoutAdapterImpl(DocumentModel doc) |
Modifier and Type | Method and Description |
---|---|
YUIComponentZone |
createZone(YUIComponentZone zone,
int zoneIndex) |
void |
deleteZone(int zoneIndex) |
YUILayout |
getLayout() |
void |
initLayout(YUILayout layout) |
void |
save() |
void |
setBodySize(YUIBodySize size) |
YUIUnit |
setFooter(YUIUnit footer) |
YUIUnit |
setHeader(YUIUnit header) |
YUIUnit |
setSideBar(YUISideBarStyle sideBar) |
YUIComponentZone |
updateZone(YUIComponentZone zone,
int zoneIndex,
YUITemplate template) |
public static final String YUI_LAYOUT_BODY_SIZE_PROPERTY
public static final String YUI_LAYOUT_SIDEBAR_PROPERTY
public static final String YUI_LAYOUT_ZONES_PROPERTY
public static final String YUI_UNIT_POSITION_PROPERTY
public static final String YUI_UNIT_ZONE_INDEX_PROPERTY
public static final String HEADER
public static final String FOOTER
public static final String SIDEBAR
public YUILayoutAdapterImpl(DocumentModel doc)
public void setBodySize(YUIBodySize size) throws ClientException
setBodySize
in interface YUILayoutAdapter
ClientException
public YUIUnit setSideBar(YUISideBarStyle sideBar) throws ClientException
setSideBar
in interface YUILayoutAdapter
ClientException
public YUIUnit setHeader(YUIUnit header) throws ClientException
setHeader
in interface YUILayoutAdapter
ClientException
public YUIUnit setFooter(YUIUnit footer) throws ClientException
setFooter
in interface YUILayoutAdapter
ClientException
public YUIComponentZone createZone(YUIComponentZone zone, int zoneIndex) throws ClientException
createZone
in interface YUILayoutAdapter
ClientException
public YUIComponentZone updateZone(YUIComponentZone zone, int zoneIndex, YUITemplate template) throws ClientException
updateZone
in interface YUILayoutAdapter
ClientException
public void deleteZone(int zoneIndex) throws ClientException
deleteZone
in interface YUILayoutAdapter
ClientException
public void save() throws ClientException
save
in interface YUILayoutAdapter
ClientException
public void initLayout(YUILayout layout) throws ClientException
initLayout
in interface YUILayoutAdapter
ClientException
public YUILayout getLayout() throws ClientException
getLayout
in interface YUILayoutAdapter
ClientException
Copyright © 2011 Nuxeo SA. All Rights Reserved.