public class RUSwing
extends java.lang.Object
Constructor and Description |
---|
RUSwing() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getHorizontalAlignmentString(javax.swing.JComponent aComponent)
Returns the horizontal alignment of the given component as a string ("left", "center" or "right").
|
static java.lang.String |
getHorizontalTextPositionString(javax.swing.JComponent aComponent)
Returns the labels horizontal text position as a string.
|
static javax.swing.Icon |
getIcon(java.awt.Shape aShape,
java.awt.Color aColor,
int aWidth,
int aHeight)
Returns an icon for the given shape, color and size.
|
static java.awt.Image |
getImage(java.awt.Shape aShape,
java.awt.Color aColor,
int aWidth,
int aHeight)
Returns an image for the given shape, image size and color.
|
static javax.swing.ImageIcon |
getImageIcon(java.awt.Shape aShape,
java.awt.Color aColor,
int aWidth,
int aHeight)
Returns an image icon for the given shape, color and size.
|
static java.lang.String |
getVerticalAlignmentString(javax.swing.JComponent aComponent)
Returns the vertical alignment of the given component as a string ("top", "center" or "bottom").
|
static java.lang.String |
getVerticalTextPositionString(javax.swing.JComponent aComponent)
Returns the labels vertical text position as a string.
|
static void |
invokeLater(java.lang.Object anObj,
java.lang.String aMethod)
Invokes an given method on a given object after delay.
|
static void |
invokeLater(java.lang.Object anObj,
java.lang.String aMethod,
java.lang.Object anArg,
java.lang.Class anArgClass)
Invokes an given method on a given object after delay, with given arg and arg class.
|
static void |
setHorizontalAlignmentString(javax.swing.JComponent aComponent,
java.lang.String aString)
Sets the horizontal alignment of the given component as a string ("left", "center" or "right").
|
static void |
setHorizontalTextPositionString(javax.swing.JComponent aComponent,
java.lang.String aString)
Sets the label's horizontal text position as a string.
|
static void |
setVerticalAlignmentString(javax.swing.JComponent aComponent,
java.lang.String aString)
Sets the vertical alignment of the given component as a string ("top", "center" or "bottom").
|
static void |
setVerticalTextPositionString(javax.swing.JComponent aComponent,
java.lang.String aString)
Sets the label's vertical text position as a string.
|
public static java.lang.String getHorizontalAlignmentString(javax.swing.JComponent aComponent)
public static void setHorizontalAlignmentString(javax.swing.JComponent aComponent, java.lang.String aString)
public static java.lang.String getVerticalAlignmentString(javax.swing.JComponent aComponent)
public static void setVerticalAlignmentString(javax.swing.JComponent aComponent, java.lang.String aString)
public static java.lang.String getHorizontalTextPositionString(javax.swing.JComponent aComponent)
public static void setHorizontalTextPositionString(javax.swing.JComponent aComponent, java.lang.String aString)
public static java.lang.String getVerticalTextPositionString(javax.swing.JComponent aComponent)
public static void setVerticalTextPositionString(javax.swing.JComponent aComponent, java.lang.String aString)
public static void invokeLater(java.lang.Object anObj, java.lang.String aMethod)
public static void invokeLater(java.lang.Object anObj, java.lang.String aMethod, java.lang.Object anArg, java.lang.Class anArgClass)
public static javax.swing.Icon getIcon(java.awt.Shape aShape, java.awt.Color aColor, int aWidth, int aHeight)
public static java.awt.Image getImage(java.awt.Shape aShape, java.awt.Color aColor, int aWidth, int aHeight)
public static javax.swing.ImageIcon getImageIcon(java.awt.Shape aShape, java.awt.Color aColor, int aWidth, int aHeight)