org.tbee.swing.jpa
Class JpaToolBarLayout
java.lang.Object
org.tbee.swing.jpa.JpaToolBarLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.swing.plaf.UIResource
public class JpaToolBarLayout
- extends java.lang.Object
- implements java.awt.LayoutManager2, java.io.Serializable, java.beans.PropertyChangeListener, javax.swing.plaf.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,
java.awt.Component busyComponent)
- Parameters:
orientation - busyComponent -
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- listen and react to orientation changes in the toolbar
- Specified by:
propertyChange in interface java.beans.PropertyChangeListener
addLayoutComponent
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
- special handling for the busy component
- Specified by:
addLayoutComponent in interface java.awt.LayoutManager
addLayoutComponent
public void addLayoutComponent(java.awt.Component comp,
java.lang.Object constraints)
- Specified by:
addLayoutComponent in interface java.awt.LayoutManager2
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component comp)
- Specified by:
removeLayoutComponent in interface java.awt.LayoutManager
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
- Specified by:
preferredLayoutSize in interface java.awt.LayoutManager
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
- Specified by:
minimumLayoutSize in interface java.awt.LayoutManager
maximumLayoutSize
public java.awt.Dimension maximumLayoutSize(java.awt.Container target)
- Specified by:
maximumLayoutSize in interface java.awt.LayoutManager2
layoutContainer
public void layoutContainer(java.awt.Container target)
- Specified by:
layoutContainer in interface java.awt.LayoutManager
getLayoutAlignmentX
public float getLayoutAlignmentX(java.awt.Container target)
- Specified by:
getLayoutAlignmentX in interface java.awt.LayoutManager2
getLayoutAlignmentY
public float getLayoutAlignmentY(java.awt.Container target)
- Specified by:
getLayoutAlignmentY in interface java.awt.LayoutManager2
invalidateLayout
public void invalidateLayout(java.awt.Container target)
- Specified by:
invalidateLayout in interface java.awt.LayoutManager2
Copyright © 2010 KnowledgePlaza. All Rights Reserved.