|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CommandButtonLayoutManager
Definition of a layout manager for AbstractCommandButtons.
| Nested Class Summary | |
|---|---|
static class |
CommandButtonLayoutManager.CommandButtonLayoutInfo
Layout information on different visual parts of a single command button. |
static class |
CommandButtonLayoutManager.CommandButtonSeparatorOrientation
Enumerates the available values for separator orientations. |
static class |
CommandButtonLayoutManager.TextLayoutInfo
Layout information on a single line of text. |
| Method Summary | |
|---|---|
Point |
getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton)
Returns the anchor center point of the key tip of the specified command button. |
CommandButtonLayoutManager.CommandButtonLayoutInfo |
getLayoutInfo(AbstractCommandButton commandButton,
Graphics g)
Returns the layout information for the specified command button. |
int |
getPreferredIconSize()
Returns the preferred icon size of command buttons which use this layout manager. |
Dimension |
getPreferredSize(AbstractCommandButton commandButton)
Returns the preferred size of the specified command button. |
| Methods inherited from interface java.beans.PropertyChangeListener |
|---|
propertyChange |
| Method Detail |
|---|
Dimension getPreferredSize(AbstractCommandButton commandButton)
commandButton - Command button.
int getPreferredIconSize()
Point getKeyTipAnchorCenterPoint(AbstractCommandButton commandButton)
commandButton - Command button.
CommandButtonLayoutManager.CommandButtonLayoutInfo getLayoutInfo(AbstractCommandButton commandButton,
Graphics g)
commandButton - Command button.g - Graphics context.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||