|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.infonode.tabbedpanel.TabbedUtils
public class TabbedUtils
Utility methods
| Constructor Summary | |
|---|---|
private |
TabbedUtils()
|
| Method Summary | |
|---|---|
static Tab |
getParentTab(java.awt.Component c)
Gets the tab for whom the given component is a child. |
static TabbedPanel |
getParentTabbedPanel(java.awt.Component c)
Gets the tabbed panel for whom the given component is a child |
static TabbedPanelContentPanel |
getParentTabbedPanelContentPanel(java.awt.Component c)
Gets the TabbedPanelContentPanel for whom the given component is a child |
static boolean |
isHoverEnabled()
Checks to see if hover is enabled i.e. if the AWTPermission "listenToAllAWTEvents" has been granted so that hover can be used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private TabbedUtils()
| Method Detail |
|---|
public static Tab getParentTab(java.awt.Component c)
Gets the tab for whom the given component is a child.
Note: This is not a method for retrieving the tab for a specific content component. This method is only useful for finding the Tab for components that have been added to a Tab.
c - the component
public static TabbedPanel getParentTabbedPanel(java.awt.Component c)
c - the component
public static TabbedPanelContentPanel getParentTabbedPanelContentPanel(java.awt.Component c)
c - the component
public static boolean isHoverEnabled()
Checks to see if hover is enabled i.e. if the AWTPermission "listenToAllAWTEvents" has been granted so that hover can be used.
Note: This method is not meant to be used for permission checks, only as a convenience to check if hover is enabled or not.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||