|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.uif_lite.component.Factory
public final class Factory
A very light version of the JGoodies UIFactory
class.
It consists only of static methods to create frequently used components.
Constructor Summary | |
---|---|
Factory()
|
Method Summary | |
---|---|
static javax.swing.JScrollPane |
createStrippedScrollPane(java.awt.Component component)
Creates and answers a JScrollPane that has an empty
border. |
static javax.swing.JSplitPane |
createStrippedSplitPane(int orientation,
java.awt.Component comp1,
java.awt.Component comp2,
double resizeWeight)
Creates and returns a JSplitPane that has empty borders. |
static javax.swing.AbstractButton |
createToolBarButton(javax.swing.Action action)
Creates and answers an AbstractButton
configured for use in a JToolBar. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Factory()
Method Detail |
---|
public static javax.swing.JScrollPane createStrippedScrollPane(java.awt.Component component)
JScrollPane
that has an empty
border.
public static javax.swing.JSplitPane createStrippedSplitPane(int orientation, java.awt.Component comp1, java.awt.Component comp2, double resizeWeight)
JSplitPane
that has empty borders.
Useful to avoid duplicate decorations, for example if the split pane
is contained by other components that already provide a border.
orientation
- the split pane's orientation: horizontal or verticalcomp1
- the top/left componentcomp2
- the bottom/right componentresizeWeight
- indicates how to distribute extra space
public static javax.swing.AbstractButton createToolBarButton(javax.swing.Action action)
AbstractButton
configured for use in a JToolBar.Superceded by ToolBarButton from the JGoodies UI framework.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |