org.tbee.swing.jpa
Class JpaToolBarLayout
java.lang.Object
org.tbee.swing.jpa.JpaToolBarLayout
- All Implemented Interfaces:
- LayoutManager, LayoutManager2, PropertyChangeListener, Serializable, EventListener, UIResource
public class JpaToolBarLayout
- extends Object
- implements LayoutManager2, Serializable, PropertyChangeListener, UIResource
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JpaToolBarLayout
public JpaToolBarLayout()
JpaToolBarLayout
public JpaToolBarLayout(int orientation)
- Parameters:
orientation -
JpaToolBarLayout
public JpaToolBarLayout(int orientation,
Component busyComponent)
- Parameters:
orientation - busyComponent -
propertyChange
public void propertyChange(PropertyChangeEvent e)
- listen and react to orientation changes in the toolbar
- Specified by:
propertyChange in interface PropertyChangeListener
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
- special handling for the busy component
- Specified by:
addLayoutComponent in interface LayoutManager
addLayoutComponent
public void addLayoutComponent(Component comp,
Object constraints)
- Specified by:
addLayoutComponent in interface LayoutManager2
removeLayoutComponent
public void removeLayoutComponent(Component comp)
- Specified by:
removeLayoutComponent in interface LayoutManager
preferredLayoutSize
public Dimension preferredLayoutSize(Container target)
- Specified by:
preferredLayoutSize in interface LayoutManager
minimumLayoutSize
public Dimension minimumLayoutSize(Container target)
- Specified by:
minimumLayoutSize in interface LayoutManager
maximumLayoutSize
public Dimension maximumLayoutSize(Container target)
- Specified by:
maximumLayoutSize in interface LayoutManager2
layoutContainer
public void layoutContainer(Container target)
- Specified by:
layoutContainer in interface LayoutManager
getLayoutAlignmentX
public float getLayoutAlignmentX(Container target)
- Specified by:
getLayoutAlignmentX in interface LayoutManager2
getLayoutAlignmentY
public float getLayoutAlignmentY(Container target)
- Specified by:
getLayoutAlignmentY in interface LayoutManager2
invalidateLayout
public void invalidateLayout(Container target)
- Specified by:
invalidateLayout in interface LayoutManager2
Copyright © 2011 KnowledgePlaza. All Rights Reserved.