@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,
value="Wizard component which represents container with tabs",
icon="fa fa-window-maximize")
public class Wizard
extends pl.fhframework.model.forms.GroupingComponent<Tab>
implements pl.fhframework.model.forms.IChangeableByClient, pl.fhframework.model.forms.Boundable, pl.fhframework.model.forms.CompactLayout, pl.fhframework.model.forms.designer.IDesignerEventListener
GroupingComponent class.
Example: <TabContainer></TabContainer>
mateusz.zaremba
| 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 |
| Constructor and Description |
|---|
Wizard(pl.fhframework.model.forms.Form form) |
| Modifier and Type | Method and Description |
|---|---|
void |
doActionForEveryActiveSubcomponent(java.util.function.Consumer<Tab> action) |
Optional<pl.fhframework.binding.ActionBinding> |
getEventHandler(pl.fhframework.model.dto.InMessageEventData eventData) |
String |
getType() |
void |
init() |
void |
onDesignerAddDefaultSubcomponent(pl.fhframework.model.forms.SpacerService spacerService) |
void |
onDesignerBeforeAdding(pl.fhframework.model.forms.IGroupingComponent<?> parent,
pl.fhframework.model.forms.SpacerService spacerService) |
void |
setOnTabChange(pl.fhframework.binding.ActionBinding onTabChange) |
pl.fhframework.binding.IActionCallbackContext |
setOnTabChange(pl.fhframework.binding.IActionCallback onTabChange) |
void |
updateModel(pl.fhframework.model.dto.ValueChange valueChange) |
protected pl.fhframework.model.dto.ElementChanges |
updateView() |
addSubcomponent, getComponentStateSaver, getNonVisualSubcomponents, getSubcomponents, isProcessComponentChange, processComponentChange, removeSubcomponent, setComponentStateSaver, setNonVisualSubcomponents, setProcessComponentStateChangegetHeight, getHint, getHintBinding, getHintPlacement, getHintTrigger, getHorizontalAlign, getInlineStyle, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getStyleClasses, getVerticalAlign, getWidth, getWrapperStyle, isPush, refreshElementToForm, refreshView, refreshView, setHeight, setHintBinding, setHintPlacement, setHintTrigger, setHorizontalAlign, 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, getGroupingParentComponent, getId, getOnDesignerToolboxDrop, getRawId, hashCode, isArtificial, isGeneratedId, isInitDone, isInvisible, isStopProcessingUpdateView, onProcessingFinish, onProcessingStart, postClone, preConfigureClear, prepareEventDataArgument, refreshAvailability, resetInitDone, setArtificial, setAvailability, setAvailabilityModelBinding, setBindingContext, setGroupingParentComponent, setId, setInvisible, setOnDesignerToolboxDrop, setOnDesignerToolboxDrop, setRawId, setStopProcessingUpdateView, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetOptionalFormatter, updateBinding, updateBinding, updateBindingForValue, updateBindingForValuedoActionForEverySubcomponent, doActionForEverySubcomponent, doActionForEverySubcomponentInlcudingRepeated, getGroupingComponent, processComponentspublic 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 void init()
init in class pl.fhframework.model.forms.FormElementpublic String getType()
getType in class pl.fhframework.model.forms.Componentpublic void updateModel(pl.fhframework.model.dto.ValueChange valueChange)
updateModel in interface pl.fhframework.model.forms.IChangeableByClientpublic Optional<pl.fhframework.binding.ActionBinding> getEventHandler(pl.fhframework.model.dto.InMessageEventData eventData)
getEventHandler in interface pl.fhframework.events.IEventSourcegetEventHandler in class pl.fhframework.model.forms.Componentprotected pl.fhframework.model.dto.ElementChanges updateView()
updateView in class pl.fhframework.model.forms.GroupingComponent<Tab>public void doActionForEveryActiveSubcomponent(java.util.function.Consumer<Tab> action)
doActionForEveryActiveSubcomponent in interface pl.fhframework.model.forms.IGroupingComponent<Tab>public void setOnTabChange(pl.fhframework.binding.ActionBinding onTabChange)
public pl.fhframework.binding.IActionCallbackContext setOnTabChange(pl.fhframework.binding.IActionCallback onTabChange)
public void onDesignerAddDefaultSubcomponent(pl.fhframework.model.forms.SpacerService spacerService)
onDesignerAddDefaultSubcomponent in interface pl.fhframework.model.forms.designer.IDesignerEventListenerpublic void onDesignerBeforeAdding(pl.fhframework.model.forms.IGroupingComponent<?> parent,
pl.fhframework.model.forms.SpacerService spacerService)
onDesignerBeforeAdding in interface pl.fhframework.model.forms.designer.IDesignerEventListenerCopyright © 2019. All rights reserved.