@Control(parents={PanelGroup.class,Column.class,ColumnOptimized.class,Tab.class,Row.class,pl.fhframework.model.forms.Form.class,Repeater.class,Group.class}, invalidParents=Table.class, canBeDesigned=true) @DocumentedComponent(category=ARRANGEMENT, documentationExample=true, value="Wizard component which represents container with tabs", icon="fa fa-window-maximize") public class Wizard extends GroupingComponent<Tab> implements IChangeableByClient, Boundable, CompactLayout, IDesignerEventListener
GroupingComponent class.
Example: <TabContainer></TabContainer>
mateusz.zaremba
Component.ComponentAttr, Component.IGenerationUtils| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_ACTIVE_TAB_ID |
static String |
ATTR_ACTIVE_TAB_INDEX |
static String |
ON_TAB_CHANGE |
static String |
TYPE_NAME |
ACCESSIBILITY, RESOLUTION_SIZEON_DROP_COMPONENT, ON_RESIZE_COMPONENT| Modifier and Type | Method and Description |
|---|---|
void |
doActionForEveryActiveSubcomponent(java.util.function.Consumer<Tab> action) |
Optional<ActionBinding> |
getEventHandler(InMessageEventData eventData) |
String |
getType() |
void |
init() |
void |
onDesignerAddDefaultSubcomponent(SpacerService spacerService) |
void |
onDesignerBeforeAdding(IGroupingComponent<?> parent,
SpacerService spacerService) |
void |
setOnTabChange(ActionBinding onTabChange) |
IActionCallbackContext |
setOnTabChange(IActionCallback onTabChange) |
void |
updateModel(ValueChange valueChange) |
protected ElementChanges |
updateView() |
addSubcomponent, getComponentStateSaver, getNonVisualSubcomponents, getSubcomponents, isProcessComponentChange, processComponentChange, removeSubcomponent, setComponentStateSaver, setNonVisualSubcomponents, setProcessComponentStateChangegetHeight, getHint, getHintBinding, getHintPlacement, getHintTrigger, getHintType, getHorizontalAlign, getHtmlAccessibilityRole, getInlineStyle, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleClasses, getVerticalAlign, getWidth, getWrapperStyle, isPush, refreshElementToForm, refreshView, refreshView, setHeight, setHintBinding, setHintPlacement, setHintTrigger, setHintType, setHorizontalAlign, setHtmlAccessibilityRole, setInlineStyle, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPush, setStyleClasses, setVerticalAlign, setWidth, setWrapperStyle, tryParseAttributeInPixelOrPercentageUnit, tryParseAttributeInPixelUnit, tryParseAttributeInPixelUnitareModelValuesTheSame, areValuesTheSame, calculateAvailability, clone, convertBindingValueToString, convertBindingValueToString, convertValue, convertValueToString, convertValueToString, createAdHocModelBinding, equals, finalizeReading, generateId, getAccessibilityRules, getAvailability, getAvailabilityModelBinding, getAvailablityAffectingActions, getBindingContext, getEventProcessingForm, getForm, getGeneratedIdPrefix, getGenerationUtils, getGroupingParentComponent, getId, getOnDesignerToolboxDrop, getRawId, hashCode, isArtificial, isGeneratedId, isInitDone, isInvisible, isStopProcessingUpdateView, onProcessingFinish, onProcessingStart, postClone, preConfigureClear, prepareEventDataArgument, refreshAvailability, resetInitDone, setArtificial, setAvailability, setAvailabilityModelBinding, setBindingContext, setGenerationUtils, setGroupingParentComponent, setId, setInvisible, setOnDesignerToolboxDrop, setOnDesignerToolboxDrop, setRawId, setStopProcessingUpdateView, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetOptionalFormatter, updateBinding, updateBinding, updateBindingForValue, updateBindingForValuemove, movedoActionForEverySubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponentInlcudingRepeated, getGroupingComponent, processComponentsisDesignActionAllowed, isDesignDeletableisModificationEventpublic static final String TYPE_NAME
public static final String ON_TAB_CHANGE
public static final String ATTR_ACTIVE_TAB_INDEX
public static final String ATTR_ACTIVE_TAB_ID
public Wizard(Form form)
public void init()
init in class FormElementpublic void updateModel(ValueChange valueChange)
updateModel in interface IChangeableByClientpublic Optional<ActionBinding> getEventHandler(InMessageEventData eventData)
getEventHandler in interface IEventSourcegetEventHandler in class Componentprotected ElementChanges updateView()
updateView in class GroupingComponent<Tab>public void doActionForEveryActiveSubcomponent(java.util.function.Consumer<Tab> action)
doActionForEveryActiveSubcomponent in interface IGroupingComponent<Tab>public void setOnTabChange(ActionBinding onTabChange)
public IActionCallbackContext setOnTabChange(IActionCallback onTabChange)
public void onDesignerAddDefaultSubcomponent(SpacerService spacerService)
onDesignerAddDefaultSubcomponent in interface IDesignerEventListenerpublic void onDesignerBeforeAdding(IGroupingComponent<?> parent, SpacerService spacerService)
onDesignerBeforeAdding in interface IDesignerEventListenerCopyright © 2020. All rights reserved.