|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.psnc.vlab.util.swing.gui.GuiTools
public final class GuiTools
Class contains a set of util methods for the Swing components
Field Summary | |
---|---|
static java.awt.Color |
HYPER_LINK_COLOR
Stores instance of field: HYPER_LINK_COLOR |
static java.lang.String |
PROPERTY_DISABLED_ICON
Holds key of disabledIcon property |
static java.awt.Color |
REGULAR_LINK_COLOR
Stores instance of field: REGULAR_LINK_COLOR |
Constructor Summary | |
---|---|
GuiTools()
|
Method Summary | |
---|---|
static void |
center(java.awt.Component component)
Center given component on the screen |
static javax.swing.JComponent |
makeHyperLink(javax.swing.JComponent comp)
Make hyper link |
static javax.swing.JComponent |
removeHyperLink(javax.swing.JComponent comp)
Removes hyper link from the given component |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_DISABLED_ICON
public static java.awt.Color HYPER_LINK_COLOR
public static java.awt.Color REGULAR_LINK_COLOR
Constructor Detail |
---|
public GuiTools()
Method Detail |
---|
public static javax.swing.JComponent makeHyperLink(javax.swing.JComponent comp)
comp
- component
public static javax.swing.JComponent removeHyperLink(javax.swing.JComponent comp)
comp
- component instance
public static void center(java.awt.Component component)
component
- component to be centered
|
VLab Common 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |