|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swing.dock.core.TabUtil
Docking framework.
| Method Summary | |
static void |
activateWindow(View view,
TabEntry entry)
Activates a given entry. |
static javax.swing.Icon |
adjustNullIcon(javax.swing.Icon icon)
Adjusts a null icon to an empty icon of size 16. |
static TabPane |
getParentTabPane(View view,
TabEntry entry)
Returns the parent TabPane. |
static boolean |
hasFocusRecursive(java.awt.Component component)
Returns true when the given component or any of its
children is the focus ownner. |
static void |
moveFocus(TabEntry entry)
Moves the focus. |
static java.lang.String |
ptr8(java.lang.Object obj)
Utility method, that returns a string rep. |
static void |
refreshTitleContents(View view,
TabEntry entry)
Refreshes the title contents of an entry. |
static void |
refreshTitleString(View view,
TabEntry entry)
Refreshes the title string of an entry. |
static boolean |
replaceSplit(javax.swing.JComponent s,
TabPane n,
boolean firstChild,
boolean vertical,
double factor)
Replaces a split. |
static java.lang.String |
split2string(int split)
Returns a debug string for the given split contant. |
static void |
warning(java.lang.String msg)
Prints a warning. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static final void warning(java.lang.String msg)
msg - the message to print.
public static final void refreshTitleContents(View view,
TabEntry entry)
view - the view to operate in.entry - the entry to refresh.
public static final void refreshTitleString(View view,
TabEntry entry)
view - the view to operate in.entry - the entry to refresh.
public static final TabPane getParentTabPane(View view,
TabEntry entry)
TabPane.
view - the View to look in.entry - the TabEntry to search for.
TabPane.public static final void moveFocus(TabEntry entry)
entry - the destination entry.public static final boolean hasFocusRecursive(java.awt.Component component)
true when the given component or any of its
children is the focus ownner.
component - root of the hierarchy to scan.
true when focus was owned by the given
hierarchy.public static final java.lang.String ptr8(java.lang.Object obj)
obj - the pointer to print.
public static final javax.swing.Icon adjustNullIcon(javax.swing.Icon icon)
icon - the icon reference, can be null
null then
an empty icon of size 16x16.
public static final void activateWindow(View view,
TabEntry entry)
view - view to operate in.entry - the entry to activate.
public static final boolean replaceSplit(javax.swing.JComponent s,
TabPane n,
boolean firstChild,
boolean vertical,
double factor)
s - the split node to replacen - the new tabpanefirstChild - whether to replace first child.vertical - whether to replace verticallyfactor - split factor.
true if replace succeeded.public static final java.lang.String split2string(int split)
split - the split constant.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||