Class JSplitPaneHpr<T extends javax.swing.JSplitPane>
- 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.JSplitPaneHpr<T>
-
public class JSplitPaneHpr<T extends javax.swing.JSplitPane> extends JComponentHpr<T>
Ribs Helper for JSplitPane
-
-
Constructor Summary
Constructors Constructor Description JSplitPaneHpr()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent
getChild(T aSplitPane, int anIndex)
Returns the Ribs-relevant child component at the given index.int
getChildCount(T aSplitPane)
Returns the Ribs-relevant child component count.void
initUI(T aSplitPane, UIOwner anOwner)
Initializes newly created object.static void
setDividerLocation(javax.swing.JSplitPane aSplitPane, java.lang.String aName, float aDefault)
Sets the splitpane location by name (saved to preferences).-
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, getPropertyNameMapped, 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 aSplitPane, UIOwner anOwner)
Initializes newly created object.- Overrides:
initUI
in classJComponentHpr<T extends javax.swing.JSplitPane>
-
getChildCount
public int getChildCount(T aSplitPane)
Returns the Ribs-relevant child component count.- Overrides:
getChildCount
in classJComponentHpr<T extends javax.swing.JSplitPane>
-
getChild
public javax.swing.JComponent getChild(T aSplitPane, int anIndex)
Returns the Ribs-relevant child component at the given index.- Overrides:
getChild
in classJComponentHpr<T extends javax.swing.JSplitPane>
-
setDividerLocation
public static void setDividerLocation(javax.swing.JSplitPane aSplitPane, java.lang.String aName, float aDefault)
Sets the splitpane location by name (saved to preferences).
-
-