public abstract class ActionButtonLook
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ActionButtonLook |
INPLACE_LOOK |
static ActionButtonLook |
SYSTEM_LOOK |
Constructor and Description |
---|
ActionButtonLook() |
Modifier and Type | Method and Description |
---|---|
protected int |
getState(ActionButtonComponent button) |
<ButtonType extends javax.swing.JComponent & ActionButtonComponent> |
paintBackground(java.awt.Graphics g,
ButtonType button) |
void |
paintBackground(java.awt.Graphics g,
javax.swing.JComponent component,
java.awt.Color color) |
void |
paintBackground(java.awt.Graphics g,
javax.swing.JComponent component,
int state) |
<ButtonType extends javax.swing.JComponent & ActionButtonComponent> |
paintBorder(java.awt.Graphics g,
ButtonType button) |
void |
paintBorder(java.awt.Graphics g,
javax.swing.JComponent component,
java.awt.Color color) |
void |
paintBorder(java.awt.Graphics g,
javax.swing.JComponent component,
int state) |
void |
paintIcon(java.awt.Graphics g,
ActionButtonComponent actionButton,
javax.swing.Icon icon) |
void |
paintIcon(java.awt.Graphics g,
ActionButtonComponent actionButton,
javax.swing.Icon icon,
int x,
int y) |
void |
paintIconAt(java.awt.Graphics g,
javax.swing.Icon icon,
int x,
int y)
Deprecated.
|
void |
paintLookBackground(java.awt.Graphics g,
java.awt.Rectangle rect,
java.awt.Color color) |
void |
paintLookBorder(java.awt.Graphics g,
java.awt.Rectangle rect,
java.awt.Color color) |
void |
updateUI() |
public static final ActionButtonLook SYSTEM_LOOK
public static final ActionButtonLook INPLACE_LOOK
public <ButtonType extends javax.swing.JComponent & ActionButtonComponent> void paintBackground(java.awt.Graphics g, ButtonType button)
public <ButtonType extends javax.swing.JComponent & ActionButtonComponent> void paintBorder(java.awt.Graphics g, ButtonType button)
public void paintBackground(java.awt.Graphics g, javax.swing.JComponent component, int state)
public void paintBackground(java.awt.Graphics g, javax.swing.JComponent component, java.awt.Color color)
public void paintBorder(java.awt.Graphics g, javax.swing.JComponent component, int state)
public void paintBorder(java.awt.Graphics g, javax.swing.JComponent component, java.awt.Color color)
public void paintLookBackground(java.awt.Graphics g, java.awt.Rectangle rect, java.awt.Color color)
public void paintLookBorder(java.awt.Graphics g, java.awt.Rectangle rect, java.awt.Color color)
public void updateUI()
protected int getState(ActionButtonComponent button)
public void paintIcon(java.awt.Graphics g, ActionButtonComponent actionButton, javax.swing.Icon icon)
public void paintIcon(java.awt.Graphics g, ActionButtonComponent actionButton, javax.swing.Icon icon, int x, int y)
@Deprecated public void paintIconAt(java.awt.Graphics g, javax.swing.Icon icon, int x, int y)
paintIcon(Graphics, ActionButtonComponent, Icon, int, int)