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 |
|---|---|
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.
|
TabPane getTabParent()
Rectangle getBounds()
void setBounds(Rectangle bounds)
bounds - the size and locationvoid setZOrder(int order)
TabPaneComponents
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 componentnullDimension 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 nullIllegalArgumentException - if orientation is nullCopyright © 2017 Docking Frames. All rights reserved.