|
|||||||||
| Home >> All >> javatools >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
javatools.swing
Class MoreSwingUtilities

java.lang.Objectjavatools.swing.MoreSwingUtilities
- public class MoreSwingUtilities
- extends java.lang.Object
Additional static methods for Swing components.
- Version:
- 0.1.8
| Constructor Summary | |
MoreSwingUtilities()
Creates a new instance of MoreSwingUtilities |
|
| Method Summary | |
static void |
disableTabs(javax.swing.JTabbedPane tab)
Disable all tabs of a JTabbedPane. |
static void |
enableTab(javax.swing.JTabbedPane tab,
int index)
Enables a tab of a JTabbedPane. |
static void |
expandLater(javax.swing.JTree tree,
javax.swing.tree.TreeNode node)
Expands a node in a thread-safe way. |
static void |
invokeWakingUp(javatools.util.RunningRunnable runnable)
Calls a wakeUp method of a RunningRunnable object when
the event queue dispatches it. |
static void |
reloadTree(javax.swing.JTree tree)
Reloads a tree in a thread-safe way. |
static void |
reloadTree(javax.swing.JTree tree,
javax.swing.tree.TreeNode node)
Reloads a tree in a thread-safe way. |
static void |
resizeTable(javax.swing.JTable table,
int[] sizes)
Resizes a table in a thread-safe way. |
static void |
setTextLater(javax.swing.JLabel label,
java.lang.String text)
Sets a label's text in a thread-safe way. |
static void |
useDbRow(javatools.util.DbRowUser user,
javatools.db.DbRow row)
Calls the use method of a DbRowUser object in a
thread-safe way. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
MoreSwingUtilities
public MoreSwingUtilities()
- Creates a new instance of MoreSwingUtilities
| Method Detail |
invokeWakingUp
public static void invokeWakingUp(javatools.util.RunningRunnable runnable)
- Calls a
wakeUpmethod of aRunningRunnableobject when the event queue dispatches it.
reloadTree
public static void reloadTree(javax.swing.JTree tree)
- Reloads a tree in a thread-safe way.
reloadTree
public static void reloadTree(javax.swing.JTree tree, javax.swing.tree.TreeNode node)
- Reloads a tree in a thread-safe way.
expandLater
public static void expandLater(javax.swing.JTree tree, javax.swing.tree.TreeNode node)
- Expands a node in a thread-safe way.
resizeTable
public static void resizeTable(javax.swing.JTable table, int[] sizes)
- Resizes a table in a thread-safe way.
disableTabs
public static void disableTabs(javax.swing.JTabbedPane tab)
- Disable all tabs of a JTabbedPane.
enableTab
public static void enableTab(javax.swing.JTabbedPane tab, int index)
- Enables a tab of a JTabbedPane.
useDbRow
public static void useDbRow(javatools.util.DbRowUser user, javatools.db.DbRow row)
- Calls the
usemethod of aDbRowUserobject in a thread-safe way.
setTextLater
public static void setTextLater(javax.swing.JLabel label, java.lang.String text)
- Sets a label's text in a thread-safe way.
|
|||||||||
| Home >> All >> javatools >> [ swing overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
javatools.swing.MoreSwingUtilities