|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
C
- component typepublic interface SizeMethods<C extends java.awt.Component>
This interface provides a set of methods that should be added into components that support custom size methods.
SwingMethods
,
SizeUtils
Method Summary | |
---|---|
int |
getMinimumHeight()
Returns component minimum height. |
int |
getMinimumWidth()
Returns component minimum width. |
int |
getPreferredHeight()
Returns component preferred height. |
java.awt.Dimension |
getPreferredSize()
Returns component preferred size. |
int |
getPreferredWidth()
Returns component preferred width. |
C |
setMinimumHeight(int minimumHeight)
Sets component minimum height. |
C |
setMinimumWidth(int minimumWidth)
Sets component minimum width. |
C |
setPreferredHeight(int preferredHeight)
Sets component preferred height. |
C |
setPreferredWidth(int preferredWidth)
Sets component preferred width. |
Method Detail |
---|
int getPreferredWidth()
C setPreferredWidth(int preferredWidth)
preferredWidth
- new component preferred width
int getPreferredHeight()
C setPreferredHeight(int preferredHeight)
preferredHeight
- new component preferred height
int getMinimumWidth()
C setMinimumWidth(int minimumWidth)
minimumWidth
- new component minimum width
int getMinimumHeight()
C setMinimumHeight(int minimumHeight)
minimumHeight
- new component minimum height
java.awt.Dimension getPreferredSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |