Known Direct Subclasses
|
Class Overview
This class should be treated as a "protected" inner class.
Instantiate it only within subclasses of BasicTabbedPaneUI.
Summary
Protected Methods |
Dimension
|
calculateSize(boolean minimum)
|
void
|
calculateTabRects(int tabPlacement, int tabCount)
|
void
|
normalizeTabRuns(int tabPlacement, int tabCount, int start, int max)
|
void
|
padSelectedTab(int tabPlacement, int selectedIndex)
|
void
|
padTabRun(int tabPlacement, int start, int end, int max)
|
int
|
preferredTabAreaHeight(int tabPlacement, int width)
|
int
|
preferredTabAreaWidth(int tabPlacement, int height)
|
void
|
rotateTabRuns(int tabPlacement, int selectedRun)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
From interface
java.awt.LayoutManager
|
Public Constructors
public
BasicTabbedPaneUI.TabbedPaneLayout
()
Public Methods
public
void
addLayoutComponent
(String name, Component comp)
If the layout manager uses a per-component string,
adds the component comp
to the layout,
associating it
with the string specified by name
.
Parameters
name
| the string to be associated with the component |
comp
| the component to be added
|
public
void
calculateLayoutInfo
()
public
void
layoutContainer
(Container parent)
Lays out the specified container.
Parameters
parent
| the container to be laid out
|
Calculates the minimum size dimensions for the specified
container, given the components it contains.
Parameters
parent
| the component to be laid out |
public
Dimension
preferredLayoutSize
(Container parent)
Calculates the preferred size dimensions for the specified
container, given the components it contains.
Parameters
parent
| the container to be laid out |
public
void
removeLayoutComponent
(Component comp)
Removes the specified component from the layout.
Parameters
comp
| the component to be removed
|
Protected Methods
protected
Dimension
calculateSize
(boolean minimum)
protected
void
calculateTabRects
(int tabPlacement, int tabCount)
protected
void
normalizeTabRuns
(int tabPlacement, int tabCount, int start, int max)
protected
void
padSelectedTab
(int tabPlacement, int selectedIndex)
protected
void
padTabRun
(int tabPlacement, int start, int end, int max)
protected
int
preferredTabAreaHeight
(int tabPlacement, int width)
protected
int
preferredTabAreaWidth
(int tabPlacement, int height)
protected
void
rotateTabRuns
(int tabPlacement, int selectedRun)