Package com.ribs
Class RUSwing
- java.lang.Object
- 
- com.ribs.RUSwing
 
- 
 public class RUSwing extends java.lang.ObjectThis class offers a number of useful general purpose utilities used by ribs classes.Copyright (c) 2004 ReportMill Software, Inc. All Rights Reserved. Contact ReportMill . 
- 
- 
Constructor SummaryConstructors Constructor Description RUSwing()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetHorizontalAlignmentString(javax.swing.JComponent aComponent)Returns the horizontal alignment of the given component as a string ("left", "center" or "right").static java.lang.StringgetHorizontalTextPositionString(javax.swing.JComponent aComponent)Returns the labels horizontal text position as a string.static javax.swing.IcongetIcon(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.ImagegetImage(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.ImageIcongetImageIcon(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.StringgetVerticalAlignmentString(javax.swing.JComponent aComponent)Returns the vertical alignment of the given component as a string ("top", "center" or "bottom").static java.lang.StringgetVerticalTextPositionString(javax.swing.JComponent aComponent)Returns the labels vertical text position as a string.static voidinvokeLater(java.lang.Object anObj, java.lang.String aMethod)Invokes an given method on a given object after delay.static voidinvokeLater(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 voidsetHorizontalAlignmentString(javax.swing.JComponent aComponent, java.lang.String aString)Sets the horizontal alignment of the given component as a string ("left", "center" or "right").static voidsetHorizontalTextPositionString(javax.swing.JComponent aComponent, java.lang.String aString)Sets the label's horizontal text position as a string.static voidsetVerticalAlignmentString(javax.swing.JComponent aComponent, java.lang.String aString)Sets the vertical alignment of the given component as a string ("top", "center" or "bottom").static voidsetVerticalTextPositionString(javax.swing.JComponent aComponent, java.lang.String aString)Sets the label's vertical text position as a string.
 
- 
- 
- 
Method Detail- 
getHorizontalAlignmentStringpublic static java.lang.String getHorizontalAlignmentString(javax.swing.JComponent aComponent) Returns the horizontal alignment of the given component as a string ("left", "center" or "right").
 - 
setHorizontalAlignmentStringpublic 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").
 - 
getVerticalAlignmentStringpublic static java.lang.String getVerticalAlignmentString(javax.swing.JComponent aComponent) Returns the vertical alignment of the given component as a string ("top", "center" or "bottom").
 - 
setVerticalAlignmentStringpublic 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").
 - 
getHorizontalTextPositionStringpublic static java.lang.String getHorizontalTextPositionString(javax.swing.JComponent aComponent) Returns the labels horizontal text position as a string.
 - 
setHorizontalTextPositionStringpublic static void setHorizontalTextPositionString(javax.swing.JComponent aComponent, java.lang.String aString)Sets the label's horizontal text position as a string.
 - 
getVerticalTextPositionStringpublic static java.lang.String getVerticalTextPositionString(javax.swing.JComponent aComponent) Returns the labels vertical text position as a string.
 - 
setVerticalTextPositionStringpublic static void setVerticalTextPositionString(javax.swing.JComponent aComponent, java.lang.String aString)Sets the label's vertical text position as a string.
 - 
invokeLaterpublic static void invokeLater(java.lang.Object anObj, java.lang.String aMethod)Invokes an given method on a given object after delay.
 - 
invokeLaterpublic 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.
 - 
getIconpublic 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.
 - 
getImagepublic 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.
 - 
getImageIconpublic 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.
 
- 
 
-