com.alee.laf.text
Class TextComponentLayout
java.lang.Object
com.alee.extended.layout.AbstractLayoutManager
com.alee.laf.text.TextComponentLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2
public class TextComponentLayout
- extends AbstractLayoutManager
User: mgarin Date: 14.12.12 Time: 16:56
Field Summary |
static java.lang.String |
LEADING
|
static java.lang.String |
TRAILING
|
Method Summary |
void |
addComponent(java.awt.Component component,
java.lang.Object constraints)
Caled when component added into container with this layout. |
void |
layoutContainer(java.awt.Container parent)
|
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent)
|
void |
removeComponent(java.awt.Component component)
Called when component removed from container with this layout. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LEADING
public static final java.lang.String LEADING
- See Also:
- Constant Field Values
TRAILING
public static final java.lang.String TRAILING
- See Also:
- Constant Field Values
TextComponentLayout
public TextComponentLayout(javax.swing.text.JTextComponent textComponent)
addComponent
public void addComponent(java.awt.Component component,
java.lang.Object constraints)
- Caled when component added into container with this layout.
- Overrides:
addComponent
in class AbstractLayoutManager
- Parameters:
component
- added componentconstraints
- component constraints
removeComponent
public void removeComponent(java.awt.Component component)
- Called when component removed from container with this layout.
- Overrides:
removeComponent
in class AbstractLayoutManager
- Parameters:
component
- removed component
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
-
layoutContainer
public void layoutContainer(java.awt.Container parent)
-