public interface TabPaneComponent
TabPaneComponent
is a child of a TabPane
. It is painted
onto the screen and has some boundaries.Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
getBounds()
Gets the current location and size of this component.
|
java.awt.Dimension |
getMaximumSize()
Gets the maximal size this component should have
|
java.awt.Dimension |
getMinimumSize()
Gets the minimal size this component should have
|
java.awt.Insets |
getOverlap(TabPaneComponent other)
Tells how much of this component may be overlapped by another component
other . |
java.awt.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(java.awt.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.
|
TabPane getTabParent()
java.awt.Rectangle getBounds()
void setBounds(java.awt.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)
java.awt.Insets getOverlap(TabPaneComponent other)
other
.other
- another component which may be painted over this componentnull
java.awt.Dimension getMinimumSize()
java.awt.Dimension getPreferredSize()
java.awt.Dimension getMaximumSize()
void setPaneVisible(boolean visible)
visible
- the new stateboolean isPaneVisible()
true
if visible, false
otherwisevoid setOrientation(TabPlacement orientation)
orientation
- the orientation, not null
java.lang.IllegalArgumentException
- if orientation
is null