public class BasicButtonUI extends ButtonUI
Modifier and Type | Field | Description |
---|---|---|
protected int |
defaultTextIconGap |
|
protected int |
defaultTextShiftOffset |
Constructor | Description |
---|---|
BasicButtonUI() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
clearTextShiftOffset() |
|
protected BasicButtonListener |
createButtonListener(AbstractButton b) |
|
static ComponentUI |
createUI(JComponent c) |
|
int |
getBaseline(JComponent c,
int width,
int height) |
Returns the baseline.
|
Component.BaselineResizeBehavior |
getBaselineResizeBehavior(JComponent c) |
Returns an enum indicating how the baseline of the component
changes as the size changes.
|
int |
getDefaultTextIconGap(AbstractButton b) |
|
Dimension |
getMaximumSize(JComponent c) |
Returns the specified component's maximum size appropriate for
the look and feel.
|
Dimension |
getMinimumSize(JComponent c) |
Returns the specified component's minimum size appropriate for
the look and feel.
|
Dimension |
getPreferredSize(JComponent c) |
Returns the specified component's preferred size appropriate for
the look and feel.
|
protected String |
getPropertyPrefix() |
|
protected int |
getTextShiftOffset() |
|
protected void |
|