public abstract class AbstractTabPaneComponent extends java.lang.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 |
---|---|
java.awt.Rectangle |
getBounds()
Gets the current location and size of this component.
|
abstract java.awt.Component |
getComponent()
Gets the
Component which is wrapped into this
AbstractTabPaneComponent . |
java.awt.Dimension |
getMaximumSize()
Gets the maximal size this component should have
|
java.awt.Dimension |
getMinimumSize()
Gets the minimal size this component should have
|
TabPlacement |
getOrientation()
Gets the orientation of this component.
|
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.
|
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.
|
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 java.awt.Component getComponent()
Component
which is wrapped into this
AbstractTabPaneComponent
. This method is not called from the
constructor.Component
, not null
public java.awt.Rectangle getBounds()
TabPaneComponent
getBounds
in interface TabPaneComponent
public java.awt.Dimension getMaximumSize()
TabPaneComponent
getMaximumSize
in interface TabPaneComponent
public java.awt.Dimension getMinimumSize()
TabPaneComponent
getMinimumSize
in interface TabPaneComponent
public java.awt.Dimension getPreferredSize()
TabPaneComponent
getPreferredSize
in interface TabPaneComponent
public TabPane getTabParent()
TabPaneComponent
getTabParent
in interface TabPaneComponent
public void setBounds(java.awt.Rectangle bounds)
TabPaneComponent
setBounds
in interface TabPaneComponent
bounds
- the size and locationpublic java.awt.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)