dsto.dfc.swing.panels
Class Corner
java.lang.Object
dsto.dfc.swing.panels.Corner
- Direct Known Subclasses:
- TopLeft
public abstract class Corner
- extends Object
Corner positions an inner frame in a corner of
of a larger outer frame. The indentation level
nudges the inner frame by degrees towards the
center of the outer frame.
Used to position ToolView frames inside their parent frames.
- Version:
- $Revision$
- Author:
- Peter J Smet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOP_LEFT
public static final TopLeft TOP_LEFT
TOP_RIGHT
public static final TopRight TOP_RIGHT
BOTTOM_LEFT
public static final BottomLeft BOTTOM_LEFT
BOTTOM_RIGHT
public static final BottomRight BOTTOM_RIGHT
Corner
public Corner()
placeFrame
public void placeFrame(Component inner,
Component outer)
placeFrame
public void placeFrame(Component inner,
Component outer,
int indentLevel)
locationFor
public Point locationFor(Component inner,
Component outer)
locationFor
public abstract Point locationFor(Component inner,
Component outer,
int indentLevel)
Copyright © 2008 Commonwealth of Australia