edu.mit.ai.psg.ui.patches
Class FlowLayout

java.lang.Object
  |
  +--java.awt.FlowLayout
        |
        +--edu.mit.ai.psg.ui.patches.FlowLayout

public class FlowLayout
extends FlowLayout

Patch to java.awt.FlowLayout so that it includes component.getAlignmentY() in position calculation. (Relevant change is the yCoord calculation between BEGIN PATCHED LINES and END PATCHED LINES. Note this patch is not in package java.awt, so it uses methods where the original code accesses fields.

See Also:
Serialized Form

Fields inherited from class java.awt.FlowLayout
CENTER, LEADING, LEFT, RIGHT, TRAILING
 
Constructor Summary
FlowLayout()
           
FlowLayout(int align)
           
FlowLayout(int align, int hgap, int vgap)
           
 
Method Summary
 void layoutContainer(Container target)
           
 
Methods inherited from class java.awt.FlowLayout
addLayoutComponent, getAlignment, getHgap, getVgap, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setAlignment, setHgap, setVgap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlowLayout

public FlowLayout()

FlowLayout

public FlowLayout(int align)

FlowLayout

public FlowLayout(int align,
                  int hgap,
                  int vgap)
Method Detail

layoutContainer

public void layoutContainer(Container target)
Overrides:
layoutContainer in class FlowLayout

Copyright (c) 1996-1999
Massachusetts Institute of Technology

Feedback: jeva-feedback@ai.mit.edu