Package com.ribs
Class RUSwing
java.lang.Object
com.ribs.RUSwing
This class offers a number of useful general purpose utilities used by ribs classes.
 
Copyright (c) 2004 ReportMill Software, Inc. All Rights Reserved. Contact ReportMill <info@reportmill.com>.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringgetHorizontalAlignmentString(JComponent aComponent) Returns the horizontal alignment of the given component as a string ("left", "center" or "right").static StringgetHorizontalTextPositionString(JComponent aComponent) Returns the labels horizontal text position as a string.static IconReturns an icon for the given shape, color and size.static ImageReturns an image for the given shape, image size and color.static ImageIcongetImageIcon(Shape aShape, Color aColor, int aWidth, int aHeight) Returns an image icon for the given shape, color and size.static StringgetVerticalAlignmentString(JComponent aComponent) Returns the vertical alignment of the given component as a string ("top", "center" or "bottom").static StringgetVerticalTextPositionString(JComponent aComponent) Returns the labels vertical text position as a string.static voidinvokeLater(Object anObj, String aMethod) Invokes an given method on a given object after delay.static voidinvokeLater(Object anObj, String aMethod, Object anArg, Class anArgClass) Invokes an given method on a given object after delay, with given arg and arg class.static voidsetHorizontalAlignmentString(JComponent aComponent, String aString) Sets the horizontal alignment of the given component as a string ("left", "center" or "right").static voidsetHorizontalTextPositionString(JComponent aComponent, String aString) Sets the label's horizontal text position as a string.static voidsetVerticalAlignmentString(JComponent aComponent, String aString) Sets the vertical alignment of the given component as a string ("top", "center" or "bottom").static voidsetVerticalTextPositionString(JComponent aComponent, String aString) Sets the label's vertical text position as a string.
- 
Constructor Details- 
RUSwingpublic RUSwing()
 
- 
- 
Method Details- 
getHorizontalAlignmentStringReturns the horizontal alignment of the given component as a string ("left", "center" or "right").
- 
setHorizontalAlignmentStringSets the horizontal alignment of the given component as a string ("left", "center" or "right").
- 
getVerticalAlignmentStringReturns the vertical alignment of the given component as a string ("top", "center" or "bottom").
- 
setVerticalAlignmentStringSets the vertical alignment of the given component as a string ("top", "center" or "bottom").
- 
getHorizontalTextPositionStringReturns the labels horizontal text position as a string.
- 
setHorizontalTextPositionStringSets the label's horizontal text position as a string.
- 
getVerticalTextPositionStringReturns the labels vertical text position as a string.
- 
setVerticalTextPositionStringSets the label's vertical text position as a string.
- 
invokeLaterInvokes an given method on a given object after delay.
- 
invokeLaterInvokes an given method on a given object after delay, with given arg and arg class.
- 
getIconReturns an icon for the given shape, color and size.
- 
getImageReturns an image for the given shape, image size and color.
- 
getImageIconReturns an image icon for the given shape, color and size.
 
-