Class HorizontalBoxHandler
java.lang.Object
ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler<HorizontalBox>
ch.tocco.nice2.model.form.impl.reader.handlers.AbstractBoxHandler<HorizontalBox>
ch.tocco.nice2.model.form.impl.reader.handlers.HorizontalBoxHandler
Handles
HorizontalBoxImpl components-
Field Summary
Fields inherited from class ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler
displayType, field, forceEditable, label, name, receiver, scopes, useLabel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends HorizontalBoxImpl> A concrete class which implmentsAbstractComponentHandler(not the handler).protected Class<HorizontalBox> Return the Interface which represents this component (not the handler).voidsetBoxWidthRatio(String boxWidthRatio) voidsetCollapsed(boolean collapsed) voidsetOccupiesRemainingHeight(boolean occupiesRemainingHeight) Methods inherited from class ch.tocco.nice2.model.form.impl.reader.handlers.AbstractBoxHandler
afterFinish, createOrGetComponent, setLabeled, tagMethods inherited from class ch.tocco.nice2.model.form.spi.reader.handler.AbstractComponentHandler
addAttributeProps, addExtProps, beforeFinish, disableOldClient, doFinish, finish, forceEditable, label, setDisplayType, setLabel, setName, setPosition, setScopes, setUseLabel, startElement
-
Constructor Details
-
HorizontalBoxHandler
-
-
Method Details
-
getImplClass
Description copied from class:AbstractComponentHandlerA concrete class which implmentsAbstractComponentHandler(not the handler). Expects a public-constructor which takes the parent Compononent.- Specified by:
getImplClassin classAbstractComponentHandler<HorizontalBox>- Returns:
- the class
-
getInterface
Description copied from class:AbstractComponentHandlerReturn the Interface which represents this component (not the handler). This interface is normallyAbstractComponentHandler- Specified by:
getInterfacein classAbstractComponentHandler<HorizontalBox>- Returns:
- interface-class
-
setOccupiesRemainingHeight
@Attribute("occupy-remaining-height") public void setOccupiesRemainingHeight(boolean occupiesRemainingHeight) - Parameters:
occupiesRemainingHeight- true: fill all remaining space in form / false: normal sizing
-
setCollapsed
-
setBoxWidthRatio
-