Class Later
- java.lang.Object
-
- com.inductiveautomation.ignition.client.util.gui.Later
-
public class Later extends java.lang.Object
Contains helpful functions for doing things...later! Every function here wraps up it's logic into a runnable submitted toEventQueue.invokeLater(Runnable)
-
-
Constructor Summary
Constructors Constructor Description Later()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
focus(javax.swing.JComponent component)
static void
makeDefaultButton(javax.swing.JButton button)
static void
scrollToTop(javax.swing.JScrollPane scrollPane)
static void
select(javax.swing.JComboBox combo, int index)
static void
select(javax.swing.JComboBox combo, java.lang.Object item)
static void
select(javax.swing.JList list, int index)
static void
select(javax.swing.JTable table, int index)
static void
select(javax.swing.JTree tree, javax.swing.tree.TreePath path)
static void
selectAll(javax.swing.text.JTextComponent component)
static void
setDividerLocation(com.jidesoft.swing.JideSplitPane split, int divider, int location)
static void
setDividerLocation(javax.swing.JSplitPane split, int location)
static java.lang.Runnable
wrap(java.lang.Runnable r)
Returns a runnable that when invoked, will put the given runnable on the end of the event queue
-
-
-
Method Detail
-
wrap
public static java.lang.Runnable wrap(java.lang.Runnable r)
Returns a runnable that when invoked, will put the given runnable on the end of the event queue
-
select
public static void select(javax.swing.JTree tree, javax.swing.tree.TreePath path)
-
select
public static void select(javax.swing.JComboBox combo, java.lang.Object item)
-
select
public static void select(javax.swing.JComboBox combo, int index)
-
select
public static void select(javax.swing.JList list, int index)
-
select
public static void select(javax.swing.JTable table, int index)
-
focus
public static void focus(javax.swing.JComponent component)
-
selectAll
public static void selectAll(javax.swing.text.JTextComponent component)
-
setDividerLocation
public static void setDividerLocation(javax.swing.JSplitPane split, int location)
-
setDividerLocation
public static void setDividerLocation(com.jidesoft.swing.JideSplitPane split, int divider, int location)
-
scrollToTop
public static void scrollToTop(javax.swing.JScrollPane scrollPane)
-
makeDefaultButton
public static void makeDefaultButton(javax.swing.JButton button)
-
-