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, waitgetZOrder, isPaneVisible, setPaneVisible, setZOrderpublic AbstractTabPaneComponent(TabPane parent)
parent - the owner of this object, not nullpublic abstract Component getComponent()
Component which is wrapped into this
AbstractTabPaneComponent. This method is not called from the
constructor.Component, not nullpublic Rectangle getBounds()
TabPaneComponentgetBounds in interface TabPaneComponentpublic Dimension getMaximumSize()
TabPaneComponentgetMaximumSize in interface TabPaneComponentpublic Dimension getMinimumSize()
TabPaneComponentgetMinimumSize in interface TabPaneComponentpublic Dimension getPreferredSize()
TabPaneComponentgetPreferredSize in interface TabPaneComponentpublic TabPane getTabParent()
TabPaneComponentgetTabParent in interface TabPaneComponentpublic void setBounds(Rectangle bounds)
TabPaneComponentsetBounds in interface TabPaneComponentbounds - the size and locationpublic Insets getOverlap(TabPaneComponent other)
TabPaneComponentother.getOverlap in interface TabPaneComponentother - another component which may be painted over this componentnullpublic void setOrientation(TabPlacement orientation)
TabPaneComponentsetOrientation in interface TabPaneComponentorientation - the orientation, not nullpublic TabPlacement getOrientation()
nullsetOrientation(TabPlacement)Copyright © 2017 Docking Frames. All rights reserved.