Package org.javlo.component.container
Interface IContainer
-
- All Superinterfaces:
Comparable<IContentVisualComponent>
,IContentVisualComponent
,IRestItem
- All Known Implementing Classes:
Box
,Section
,TextDirection
public interface IContainer extends IContentVisualComponent
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLOSE_BOX_ATTRIBUTE
static String
CLOSE_CONTAINER_CODE
static String
OPEN_CONTAINER_CODE
-
Fields inherited from interface org.javlo.component.core.IContentVisualComponent
COLORED_WRAPPER_CLASS, COMP_ID_REQUEST_PARAM, COMPLEXITY_ADMIN, COMPLEXITY_EASY, COMPLEXITY_STANDARD, CONTAINER_COLOR, DEFAULT_COLOR, DYN_COMP_COLOR, ECOM_COLOR, EDIT_ACTION_CSS_CLASS, GRAPHIC_COLOR, HIGH_LABEL_LEVEL, ID_SEPARATOR, LINK_COLOR, LOW_LABEL_LEVEL, META_COLOR, MIDDLE_LABEL_LEVEL, SEARCH_LEVEL_HIGH, SEARCH_LEVEL_LOW, SEARCH_LEVEL_MIDDLE, SEARCH_LEVEL_NONE, TEXT_COLOR, VIEW_DEFINITION_REQUEST_ID, WEB2_COLOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCloseCode(ContentContext ctx)
return the close code for the current component.IContainer
getCloseComponent(ContentContext ctx)
String
getId()
return a unique id for the coponentString
getOpenCode(ContentContext ctx)
get the container code "open code" for open component.IContainer
getOpenComponent(ContentContext ctx)
String
getXHTMLCode(ContentContext ctx)
the code for view the element in XHTML environment.boolean
isOpen(ContentContext ctx)
void
setOpen(ContentContext ctx, boolean open)
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.javlo.component.core.IContentVisualComponent
cleanResources, clearReplacement, delete, equals, extractFieldsFromRenderer, forceInit, getArea, getAuthors, getClassName, getColumnSize, getColumnStyle, getComplexityLevel, getComponentBean, getComponentCssClass, getComponentLabel, getConfig, getConfigInValue, getConfigMessage, getContentAsText, getContentMessage, getContentName, getCreationDate, getCurrentRenderer, getDescription, getEditText, getEmptyXHTMLCode, getErrorMessage, getErrorMessage, getExternalModules, getExternalResources, getFirstPrefix, getFontAwesome, getGroup, getHeaderContent, getHelpText, getHelpURL, getHexColor, getI18nEditableKeys, getIcon, getInputNameRenderer, getJSOnSubmit, getKey, getLabelLevel, getLastSufix, getLayout, getListGroup, getMarkerList, getMessage, getModificationDate, getNextComponent, getPage, getPageDescription, getPrefixViewXHTMLCode, getPreviousComponent, getReferenceComponent, getRenderer, getSearchLevel, getSpecialTagTitle, getSpecialTagXHTML, getStyle, getStyleLabel, getStyleLabelList, getStyleList, getStyleTitle, getSuffixViewXHTMLCode, getTextForSearch, getTextLabel, getTextMessage, getTextTitle, getTitleLevel, getType, getValue, getVersion, getViewText, getWordCount, getXHTMLConfig, initContent, insert, isColumnable, isConfig, isContentCachable, isDefaultValue, isDispayEmptyXHTMLCode, isDisplayable, isDisplayHidden, isEditOnCreate, isFirstRepeated, isHelpURL, isHidden, isHiddenInMode, isInline, isInsertable, isList, isListable, isMetaTitle, isMirroredByDefault, isModify, isNeedRefresh, isNew, isNolink, isRealContent, isRepeat, isRepeatable, isRestMatch, isUnique, isVisible, isVisible, isVisibleFromCookies, loadViewData, markAsNew, newInstance, next, performConfig, performEdit, prepareView, previous, replaceAllInContent, replaceInContent, resetViewData, setColumnSize, setContainerPage, setDisplayHidden, setGroup, setList, setNeedRefresh, setNextComponent, setPage, setPreviousComponent, setRenderer, setRepeat, setStyle, setValid, setValue, stored, transflateFrom
-
Methods inherited from interface org.javlo.data.rest.IRestItem
getContentAsMap
-
-
-
-
Field Detail
-
OPEN_CONTAINER_CODE
static final String OPEN_CONTAINER_CODE
- See Also:
- Constant Field Values
-
CLOSE_CONTAINER_CODE
static final String CLOSE_CONTAINER_CODE
- See Also:
- Constant Field Values
-
CLOSE_BOX_ATTRIBUTE
static final String CLOSE_BOX_ATTRIBUTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
String getId()
Description copied from interface:IContentVisualComponent
return a unique id for the coponent- Specified by:
getId
in interfaceIContentVisualComponent
-
isOpen
boolean isOpen(ContentContext ctx)
-
setOpen
void setOpen(ContentContext ctx, boolean open)
-
getOpenCode
String getOpenCode(ContentContext ctx)
get the container code "open code" for open component.- Parameters:
ctx
-- Returns:
- html code.
-
getCloseCode
String getCloseCode(ContentContext ctx)
return the close code for the current component.- Parameters:
ctx
-- Returns:
-
getCloseComponent
IContainer getCloseComponent(ContentContext ctx)
-
getOpenComponent
IContainer getOpenComponent(ContentContext ctx)
-
getXHTMLCode
String getXHTMLCode(ContentContext ctx)
Description copied from interface:IContentVisualComponent
the code for view the element in XHTML environment.- Specified by:
getXHTMLCode
in interfaceIContentVisualComponent
- Returns:
-
-