Class JTabbedPaneHpr<T extends javax.swing.JTabbedPane>
- java.lang.Object
-
- com.inductiveautomation.snap.ui.UIHelper<T>
-
- com.inductiveautomation.snap.swing.SwingHelper<T>
-
- com.inductiveautomation.snap.swing.helpers.JComponentHpr<T>
-
- com.inductiveautomation.snap.swing.helpers.JTabbedPaneHpr<T>
-
public class JTabbedPaneHpr<T extends javax.swing.JTabbedPane> extends JComponentHpr<T>
A Helper for JTabbedPane.
-
-
Constructor Summary
Constructors Constructor Description JTabbedPaneHpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponentgetChild(T aTabPane, int anIndex)Returns the Ribs-relevant child component at the given index.intgetChildCount(T aTabPane)Returns the Ribs-relevant child component count.java.lang.StringgetPropertyNameMapped(T aTabPane, java.lang.String aName)Returns a mapped property name.voidinitUI(T aTabPane, UIOwner anOwner)Override to add ChangeListener.-
Methods inherited from class com.inductiveautomation.snap.swing.helpers.JComponentHpr
addBinding, createEventAdapter, getAutosizing, getBinding, getBindingCount, getBindings, getChangeListener, getConstraints, getEventAdapter, getName, getOwner, getParent, getPropertyNamesImpl, getSendActionOnFocusLost, getSendActionOnFocusLostDefault, isEnabled, removeBinding, setConstraints, setEnabled, setOwner, setSendActionOnFocusLost
-
Methods inherited from class com.inductiveautomation.snap.swing.SwingHelper
getHelper, getSwingHelper, getSwingHelper
-
Methods inherited from class com.inductiveautomation.snap.ui.UIHelper
enableEvents, getAction, getBinding, getChild, getItemDisplayKey, getItems, getKeyValue, getPropertyNames, getSelectedIndex, getSelectedIndexes, getSelectedIndexs, getSelectedItem, getText, getValue, initUIDeep, isEnabled, isPropertyName, isValueAdjusting, removeBinding, setAction, setEnabled, setItemDisplayKey, setItems, setItems, setKeyValue, setSelectedIndex, setSelectedIndexes, setSelectedItem, setText, setValue
-
-
-
-
Method Detail
-
initUI
public void initUI(T aTabPane, UIOwner anOwner)
Override to add ChangeListener.- Overrides:
initUIin classJComponentHpr<T extends javax.swing.JTabbedPane>
-
getChildCount
public int getChildCount(T aTabPane)
Returns the Ribs-relevant child component count.- Overrides:
getChildCountin classJComponentHpr<T extends javax.swing.JTabbedPane>
-
getChild
public javax.swing.JComponent getChild(T aTabPane, int anIndex)
Returns the Ribs-relevant child component at the given index.- Overrides:
getChildin classJComponentHpr<T extends javax.swing.JTabbedPane>
-
getPropertyNameMapped
public java.lang.String getPropertyNameMapped(T aTabPane, java.lang.String aName)
Returns a mapped property name.- Overrides:
getPropertyNameMappedin classUIHelper<T extends javax.swing.JTabbedPane>
-
-