public class AjaxSwingIconFactory
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DARK |
static boolean |
LIGHT |
static boolean |
USING_OCEAN |
Constructor and Description |
---|
AjaxSwingIconFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
drawBackground(java.awt.Component c,
java.awt.Graphics g,
java.lang.String key,
int x,
int y,
int width,
int height,
boolean b) |
static javax.swing.Icon |
getCheckBoxIcon()
Returns a checkbox icon.
|
static javax.swing.Icon |
getCheckBoxMenuItemIcon() |
static javax.swing.Icon |
getMenuItemCheckIcon()
Returns an icon to be used by
JCheckBoxMenuItem . |
static javax.swing.Icon |
getRadioButtonIcon() |
static javax.swing.Icon |
getRadioButtonMenuItemIcon() |
static boolean |
isLeftToRight(java.awt.Component c) |
public static final boolean DARK
public static final boolean LIGHT
public static final boolean USING_OCEAN
public static javax.swing.Icon getRadioButtonIcon()
public static javax.swing.Icon getCheckBoxIcon()
public static javax.swing.Icon getMenuItemCheckIcon()
JCheckBoxMenuItem
.null
if no default existspublic static javax.swing.Icon getCheckBoxMenuItemIcon()
public static javax.swing.Icon getRadioButtonMenuItemIcon()
public static void drawBackground(java.awt.Component c, java.awt.Graphics g, java.lang.String key, int x, int y, int width, int height, boolean b)
public static boolean isLeftToRight(java.awt.Component c)
Copyright © 2000-2012 CreamTec LLC. All Rights Reserved.