|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.looks.MicroLayout
public final class MicroLayout
Describes the insets and margins used by a Look&Feel or theme.
Constructor Summary | |
---|---|
MicroLayout(InsetsUIResource textInsets,
InsetsUIResource wrappedTextInsets,
InsetsUIResource comboBoxEditorInsets,
int comboBorderSize,
int comboPopupBorderSize,
Insets buttonBorderInsets,
InsetsUIResource buttonMargin,
InsetsUIResource commitButtonMargin,
InsetsUIResource checkBoxMargin,
InsetsUIResource menuItemMargin,
InsetsUIResource menuMargin,
InsetsUIResource popupMenuSeparatorMargin)
|
Method Summary | |
---|---|
Insets |
getButtonBorderInsets()
Returns the insets used for button borders. |
InsetsUIResource |
getButtonMargin()
Returns the margin used for standard buttons. |
InsetsUIResource |
getCheckBoxMargin()
|
int |
getComboBorderSize()
|
InsetsUIResource |
getComboBoxEditorInsets()
|
int |
getComboPopupBorderSize()
|
InsetsUIResource |
getCommitButtonMargin()
Returns the margin used for commit buttons in command areas. |
InsetsUIResource |
getMenuItemMargin()
|
InsetsUIResource |
getMenuMargin()
|
InsetsUIResource |
getPopupMenuSeparatorMargin()
|
InsetsUIResource |
getTextInsets()
|
InsetsUIResource |
getWrappedTextInsets()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MicroLayout(InsetsUIResource textInsets, InsetsUIResource wrappedTextInsets, InsetsUIResource comboBoxEditorInsets, int comboBorderSize, int comboPopupBorderSize, Insets buttonBorderInsets, InsetsUIResource buttonMargin, InsetsUIResource commitButtonMargin, InsetsUIResource checkBoxMargin, InsetsUIResource menuItemMargin, InsetsUIResource menuMargin, InsetsUIResource popupMenuSeparatorMargin)
Method Detail |
---|
public Insets getButtonBorderInsets()
public InsetsUIResource getButtonMargin()
Toolbar buttons may have a different height, as well as commit buttons that are placed in a special command bar area, for example OK, Cancel, Apply.
getCommitButtonMargin()
public InsetsUIResource getCommitButtonMargin()
getButtonMargin()
public int getComboBorderSize()
public int getComboPopupBorderSize()
public InsetsUIResource getComboBoxEditorInsets()
public InsetsUIResource getCheckBoxMargin()
public InsetsUIResource getMenuItemMargin()
public InsetsUIResource getMenuMargin()
public InsetsUIResource getPopupMenuSeparatorMargin()
public InsetsUIResource getTextInsets()
public InsetsUIResource getWrappedTextInsets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |