public abstract class AbstractTabPaneComponent extends Object implements TabPaneComponent
TabPaneComponent
that really represents a Component
.Constructor and Description |
---|
AbstractTabPaneComponent(TabPane parent)
Creates a new object.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
getBounds()
Gets the current location and size of this component.
|
abstract Component |
getComponent()
Gets the
Component which is wrapped into this
AbstractTabPaneComponent . |
Dimension |
getMaximumSize()
Gets the maximal size this component should have
|
Dimension |
getMinimumSize()
Gets the minimal size this component should have
|
TabPlacement |
getOrientation()
Gets the orientation of this component.
|
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.
|
void |
setBounds(Rectangle bounds)
Sets the current location and size of this component.
|
void |
setOrientation(TabPlacement orientation)
Tells this component how to paint itself.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getZOrder, isPaneVisible, setPaneVisible, setZOrder
public AbstractTabPaneComponent(TabPane parent)
parent
- the owner of this object, not null
public abstract Component getComponent()
Component
which is wrapped into this
AbstractTabPaneComponent
. This method is not called from the
constructor.Component
, not null
public Rectangle getBounds()
TabPaneComponent
getBounds
in interface TabPaneComponent
public Dimension getMaximumSize()
TabPaneComponent
getMaximumSize
in interface TabPaneComponent
public Dimension getMinimumSize()
TabPaneComponent
getMinimumSize
in interface TabPaneComponent
public Dimension getPreferredSize()
TabPaneComponent
getPreferredSize
in interface TabPaneComponent
public TabPane getTabParent()
TabPaneComponent
getTabParent
in interface TabPaneComponent
public void setBounds(Rectangle bounds)
TabPaneComponent
setBounds
in interface TabPaneComponent
bounds
- the size and locationpublic Insets getOverlap(TabPaneComponent other)
TabPaneComponent
other
.getOverlap
in interface TabPaneComponent
other
- another component which may be painted over this componentnull
public void setOrientation(TabPlacement orientation)
TabPaneComponent
setOrientation
in interface TabPaneComponent
orientation
- the orientation, not null
public TabPlacement getOrientation()
null
setOrientation(TabPlacement)