diamondedge.swing
Class GraphicUtil
java.lang.Object
diamondedge.swing.GraphicUtil
public final class GraphicUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static String copyright
GraphicUtil
public GraphicUtil()
main
public static void main(String[] args)
getDefaultFont
public static Font getDefaultFont()
paintImage
public static void paintImage(Graphics g,
Image image,
JComponent c,
int style)
- Paint an image using the given style
- Parameters:
style
- One of: LEFT, CENTER, STRETCH, TILE
getClipboard
public static Clipboard getClipboard()
createSortIcon
public static ImageIcon createSortIcon(int direction,
int size,
Color background)
createIconButton
public static JButton createIconButton(String tooltip,
String iconFile)
getStroke
public static BasicStroke getStroke(float lineWidth,
int lineStyle)
init
public static void init(Object c)
- Perform class level initialization for components. Reserved for internal use.
Diamond Edge and Diamond Control Suite are trademarks or registered trademarks of Diamond Edge, Inc. Copyright 1999-2005 Diamond Edge, Inc. All Rights Reserved.