public class TabModel extends DefaultObjectModel<TabModel,TabView,TabConfig>
| Modifier and Type | Field and Description |
|---|---|
static org.jrebirth.af.api.wave.contract.WaveType |
ADD
The add.
|
private static org.slf4j.Logger |
LOGGER
The Constant LOGGER.
|
static org.jrebirth.af.api.wave.contract.WaveType |
REMOVE
The remove.
|
static WaveItemBase<Dockable> |
TAB
The model.
|
private static int |
TAB_COUNTER
The counter used to create tabKey for TabConfif that doesn't have one.
|
static WaveItemBase<String> |
TAB_KEY
The key of the tab model used as filter by wave checker.
|
innerComponentMap, PROCESS_WAVE_METHOD_NAME, rootComponentADD_BEHAVIOR, CALL_ANNOTATED_METHOD_ERROR, COMMAND_NOT_FOUND_ERROR, COMMAND_NOT_FOUND_MESSAGE, COMPONENT_INJECTION_FAILURE, COMPONENT_RELEASE_ERROR, CUSTOM_METHOD_NOT_FOUND, LISTEN_WAVE_TYPE, MODEL_NOT_FOUND_ERROR, MODEL_NOT_FOUND_MESSAGE, NO_WAVE_LISTENER, NOTIFIER_CONSUMES, SEND_WAVE, SERVICE_NOT_FOUND_ERROR, SERVICE_NOT_FOUND_MESSAGE, UNLISTEN_WAVE_TYPE, USE_DEFAULT_WAVE_HANDLER, WAVE_BEAN_CREATION_ERROR, WAVE_DISPATCH_ERROR, WAVE_HANDLING_ERROR, WAVE_LOST, WAVE_LOST_CONTEXT, WAVE_SENDING_ERROR| Constructor and Description |
|---|
TabModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTab(Dockable tab,
org.jrebirth.af.api.wave.Wave wave)
Adds the tab.
|
protected void |
bind() |
protected void |
initModel() |
void |
insertTab(int idx,
Dockable tab,
org.jrebirth.af.api.wave.Wave wave)
Insert tab.
|
private void |
onOrientationChanged(javafx.beans.value.ObservableValue<? extends TabOrientation> property,
TabOrientation oldValue,
TabOrientation newValue) |
private void |
onTabsChanged(javafx.collections.ListChangeListener.Change<? extends Dockable> change) |
void |
removeTab(Dockable tab,
org.jrebirth.af.api.wave.Wave wave)
Removes the tab.
|
protected void |
showView() |
hideView, initInnerComponents, processWavebuildObject, getObject, setObjectbindInternal, buildView, doHideView, doShowView, getView, initInternalModelfinalize, getRootNode, hideInternalView, ready, showInternalViewaddBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavior, manageOptionalDataaddInnerComponent, attachUi, callCommand, callCommand, getInnerComponent, getRootComponent, initInternalInnerComponents, listen, listen, listen, release, returnData, sendWave, sendWave, setRootComponent, setup, unlistengetCommand, getCommand, getFirstKeyPart, getKey, getKeyPart, getListKeyPart, getLocalFacade, getModel, getModel, getSecondKeyPart, getService, getService, getThirdKeyPart, setKey, setLocalFacadeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoHideView, doShowView, getRootNode, getViewaddBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavioraddInnerComponent, getInnerComponent, getRootComponent, listen, listen, listen, sendWave, sendWave, setRootComponent, unlistengetKey, getLocalFacade, release, setKey, setLocalFacade, setuppublic static WaveItemBase<String> TAB_KEY
public static WaveItemBase<Dockable> TAB
public static org.jrebirth.af.api.wave.contract.WaveType ADD
public static org.jrebirth.af.api.wave.contract.WaveType REMOVE
private static final org.slf4j.Logger LOGGER
private static int TAB_COUNTER
protected void initModel()
initModel in class DefaultObjectModel<TabModel,TabView,TabConfig>protected void bind()
bind in class DefaultObjectModel<TabModel,TabView,TabConfig>private void onOrientationChanged(javafx.beans.value.ObservableValue<? extends TabOrientation> property, TabOrientation oldValue, TabOrientation newValue)
private void onTabsChanged(javafx.collections.ListChangeListener.Change<? extends Dockable> change)
protected void showView()
showView in class DefaultObjectModel<TabModel,TabView,TabConfig>public void addTab(Dockable tab, org.jrebirth.af.api.wave.Wave wave)
tab - the tabwave - the wavepublic void removeTab(Dockable tab, org.jrebirth.af.api.wave.Wave wave)
tab - the tabwave - the wavepublic void insertTab(int idx,
Dockable tab,
org.jrebirth.af.api.wave.Wave wave)
idx - the idxtab - the tabwave - the waveCopyright © 2011–2015 JRebirth OSS. All rights reserved.