com.miginfocom.util.gfx
Class GridARLayout

java.lang.Object
  extended by com.miginfocom.util.gfx.GridARLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable

public class GridARLayout
extends java.lang.Object
implements java.awt.LayoutManager2, java.io.Serializable

Internal layout manager. Do not use!

Since:
6.0
See Also:
Serialized Form

Constructor Summary
GridARLayout()
           
GridARLayout(int cols)
           
GridARLayout(int cols, int gapX, int gapY)
           
 
Method Summary
 void addLayoutComponent(java.awt.Component comp, java.lang.Object constraints)
           
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
           
 boolean equals(java.lang.Object o)
           
 int getColumns()
           
 boolean getFlowPages()
           
 int getGapX()
           
 int getGapY()
           
 float getLayoutAlignmentX(java.awt.Container target)
           
 float getLayoutAlignmentY(java.awt.Container target)
           
 int hashCode()
           
 void invalidateLayout(java.awt.Container target)
           
 void layoutContainer(java.awt.Container parent)
           
 void layoutContainerFlow(java.awt.Container parent)
           
 void layoutContainerGrid(java.awt.Container parent)
           
 java.awt.Dimension maximumLayoutSize(java.awt.Container parent)
           
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
           
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
           
 void removeLayoutComponent(java.awt.Component comp)
           
 void setColumns(int cols)
           
 void setFlowPages(boolean flowPages)
           
 void setGapX(int i)
           
 void setGapY(int i)
           
 void setLayoutAlignmentX(float alignX)
           
 void setLayoutAlignmentY(float alignY)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridARLayout

public GridARLayout()

GridARLayout

public GridARLayout(int cols)

GridARLayout

public GridARLayout(int cols,
                    int gapX,
                    int gapY)
Method Detail

getColumns

public int getColumns()

setColumns

public void setColumns(int cols)

getGapX

public int getGapX()

setGapX

public void setGapX(int i)

getGapY

public int getGapY()

setGapY

public void setGapY(int i)

addLayoutComponent

public void addLayoutComponent(java.awt.Component comp,
                               java.lang.Object constraints)
Specified by:
addLayoutComponent in interface java.awt.LayoutManager2

setLayoutAlignmentX

public void setLayoutAlignmentX(float alignX)

getLayoutAlignmentX

public float getLayoutAlignmentX(java.awt.Container target)
Specified by:
getLayoutAlignmentX in interface java.awt.LayoutManager2

setLayoutAlignmentY

public void setLayoutAlignmentY(float alignY)

getLayoutAlignmentY

public float getLayoutAlignmentY(java.awt.Container target)
Specified by:
getLayoutAlignmentY in interface java.awt.LayoutManager2

getFlowPages

public boolean getFlowPages()

setFlowPages

public void setFlowPages(boolean flowPages)

invalidateLayout

public void invalidateLayout(java.awt.Container target)
Specified by:
invalidateLayout in interface java.awt.LayoutManager2

addLayoutComponent

public void addLayoutComponent(java.lang.String name,
                               java.awt.Component comp)
Specified by:
addLayoutComponent in interface java.awt.LayoutManager

removeLayoutComponent

public void removeLayoutComponent(java.awt.Component comp)
Specified by:
removeLayoutComponent in interface java.awt.LayoutManager

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
Specified by:
minimumLayoutSize in interface java.awt.LayoutManager

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
Specified by:
preferredLayoutSize in interface java.awt.LayoutManager

maximumLayoutSize

public java.awt.Dimension maximumLayoutSize(java.awt.Container parent)
Specified by:
maximumLayoutSize in interface java.awt.LayoutManager2

layoutContainer

public void layoutContainer(java.awt.Container parent)
Specified by:
layoutContainer in interface java.awt.LayoutManager

layoutContainerGrid

public void layoutContainerGrid(java.awt.Container parent)

layoutContainerFlow

public void layoutContainerFlow(java.awt.Container parent)

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.