|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TabPaneComponent
A TabPaneComponent
is a child of a TabPane
. It is painted
onto the screen and has some boundaries.
Method Summary | |
---|---|
Rectangle |
getBounds()
Gets the current location and size of this component. |
Dimension |
getMaximumSize()
Gets the maximal size this component should have |
Dimension |
getMinimumSize()
Gets the minimal size this component should have |
Insets |
getOverlap(TabPaneComponent other)
Tells how much of this component may be overlapped by another component other . |
Dimension |
getPreferredSize()
Gets the preferred size of this component |
TabPane |
getTabParent()
Gets the parent of this component. |
int |
getZOrder()
Gets the value of the z order. |
boolean |
isPaneVisible()
Tells whether this component is visible or not. |
void |
setBounds(Rectangle bounds)
Sets the current location and size of this component. |
void |
setOrientation(TabPlacement orientation)
Tells this component how to paint itself. |
void |
setPaneVisible(boolean visible)
Changes the visibility state of this component. |
void |
setZOrder(int order)
Sets the z order of this component. |
Method Detail |
---|
TabPane getTabParent()
Rectangle getBounds()
void setBounds(Rectangle bounds)
bounds
- the size and locationvoid setZOrder(int order)
TabPaneComponent
s
on the parent TabPane
. The implementation may increase or
decrease z-orders to prevent collisions between components with the same
order.
order
- the order, can be any integer.int getZOrder()
setZOrder(int)
Insets getOverlap(TabPaneComponent other)
other
.
other
- another component which may be painted over this component
null
Dimension getMinimumSize()
Dimension getPreferredSize()
Dimension getMaximumSize()
void setPaneVisible(boolean visible)
visible
- the new stateboolean isPaneVisible()
true
if visible, false
otherwisevoid setOrientation(TabPlacement orientation)
orientation
- the orientation, not null
IllegalArgumentException
- if orientation
is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |