public class UiFactory
extends java.lang.Object
Constructor and Description |
---|
UiFactory() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Component |
centerJustify(java.awt.Component content) |
static javax.swing.JPanel |
createKeyValWrap(org.apache.commons.lang3.tuple.Pair<java.lang.String,java.awt.Component>... content) |
static javax.swing.JLabel |
createLabelTopLeft(java.lang.String content) |
static javax.swing.JLabel |
createLabelWrapped(java.lang.String content) |
static javax.swing.JPanel |
createLeftRightWrap(org.apache.commons.lang3.tuple.Pair<java.awt.Component,java.awt.Component>... content) |
static java.awt.Component |
createPaddedSeperator() |
static javax.swing.border.Border |
createPaddingBorder() |
static javax.swing.border.Border |
createPaddingBorder(int padding) |
static javax.swing.JLabel |
createTitleLabel(java.lang.String title) |
static void |
forceMinSize(java.awt.Component component,
java.awt.Dimension dim) |
static void |
forceMinSize(java.awt.Component component,
int width,
int height) |
static void |
forceSize(java.awt.Component component,
java.awt.Dimension dim) |
static void |
forceSize(java.awt.Component component,
int width,
int height) |
static java.awt.Component |
leftJustify(java.awt.Component content) |
static <T> java.awt.Component |
scrollVertical(javax.swing.JList<T> list,
int visibleRowCount) |
public static javax.swing.JLabel createTitleLabel(java.lang.String title)
public static javax.swing.JLabel createLabelTopLeft(java.lang.String content)
public static javax.swing.JLabel createLabelWrapped(java.lang.String content)
public static javax.swing.border.Border createPaddingBorder()
public static javax.swing.border.Border createPaddingBorder(int padding)
public static java.awt.Component createPaddedSeperator()
public static java.awt.Component leftJustify(java.awt.Component content)
public static java.awt.Component centerJustify(java.awt.Component content)
public static void forceSize(java.awt.Component component, int width, int height)
public static void forceSize(java.awt.Component component, java.awt.Dimension dim)
public static void forceMinSize(java.awt.Component component, int width, int height)
public static void forceMinSize(java.awt.Component component, java.awt.Dimension dim)
public static <T> java.awt.Component scrollVertical(javax.swing.JList<T> list, int visibleRowCount)
@SafeVarargs public static javax.swing.JPanel createKeyValWrap(org.apache.commons.lang3.tuple.Pair<java.lang.String,java.awt.Component>... content)
@SafeVarargs public static javax.swing.JPanel createLeftRightWrap(org.apache.commons.lang3.tuple.Pair<java.awt.Component,java.awt.Component>... content)