Class TabInfoWithValidator
- java.lang.Object
-
- org.jdesktop.beans.AbstractBean
-
- org.nuiton.jaxx.runtime.swing.TabInfo
-
- org.nuiton.jaxx.validator.swing.tab.TabInfoWithValidator
-
public class TabInfoWithValidator extends TabInfo
Created by tchemit on 04/02/2018.- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTabInfoWithValidator.TabTableModelListener
-
Field Summary
-
Fields inherited from class org.nuiton.jaxx.runtime.swing.TabInfo
BACKGROUND_PROPERTY, DISABLED_ICON_PROPERTY, DISPLAYED_MNEMONIC_INDEX_PROPERTY, ENABLED_PROPERTY, FOREGROUND_PROPERTY, ICON_PROPERTY, MNEMONIC_PROPERTY, TAB_COMPONENT_PROPERTY, TAB_COMPONENT_STR_PROPERTY, TITLE_PROPERTY, TOOL_TIP_TEXT_PROPERTY, VALID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description TabInfoWithValidator(String id)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Component>getComponents()JTabbedPanegetParent()SwingValidatorgetValidator()Set<String>getValidatorComponentIds()Map<String,Component>getValidatorComponents()StringgetValidatorId()voidinit(JAXXObject ui, JTabbedPane parent)booleanisWithError()booleanisWithFatal()booleanisWithInfo()booleanisWithWarning()static voidonTableModelChanged(TabInfoWithValidator component, SwingValidatorMessageTableModel errorTableModel)voidsetValidatorId(String validatorId)voidsetWithError(boolean withError)voidsetWithFatal(boolean withFatal)voidsetWithInfo(boolean withInfo)voidsetWithWarning(boolean withWarning)-
Methods inherited from class org.jdesktop.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.nuiton.jaxx.runtime.swing.TabInfo
getBackground, getContainerId, getDisabledIcon, getDisplayedMnemonicIndex, getForeground, getIcon, getId, getMnemonic, getProperties, getTabComponent, getTabComponentStr, getTabIndex, getTitle, getToolTipText, isEnabled, isValid, setBackground, setContainerId, setDisabledIcon, setDisplayedMnemonicIndex, setEnabled, setForeground, setIcon, setMnemonic, setProperties, setTabComponent, setTabComponentStr, setTabIndex, setTitle, setToolTipText, setValid
-
-
-
-
Constructor Detail
-
TabInfoWithValidator
public TabInfoWithValidator(String id)
-
-
Method Detail
-
onTableModelChanged
public static void onTableModelChanged(TabInfoWithValidator component, SwingValidatorMessageTableModel errorTableModel)
-
isWithFatal
public boolean isWithFatal()
-
setWithFatal
public void setWithFatal(boolean withFatal)
-
isWithError
public boolean isWithError()
-
setWithError
public void setWithError(boolean withError)
-
isWithWarning
public boolean isWithWarning()
-
setWithWarning
public void setWithWarning(boolean withWarning)
-
isWithInfo
public boolean isWithInfo()
-
setWithInfo
public void setWithInfo(boolean withInfo)
-
getValidator
public SwingValidator getValidator()
-
getValidatorId
public String getValidatorId()
-
setValidatorId
public void setValidatorId(String validatorId)
-
getParent
public JTabbedPane getParent()
-
init
public void init(JAXXObject ui, JTabbedPane parent)
-
-