dsto.dfc.swing.panels
Class TopRight

java.lang.Object
  extended by dsto.dfc.swing.panels.Corner
      extended by dsto.dfc.swing.panels.TopLeft
          extended by dsto.dfc.swing.panels.TopRight
Direct Known Subclasses:
BottomRight

public class TopRight
extends TopLeft

TopRight positions an inner frame in the top right corner of a larger outer frame. The indentation level nudges the inner frame by degrees towards the center of the outer frame.

Version:
$Revision$
Author:
Peter J Smet

Field Summary
 
Fields inherited from class dsto.dfc.swing.panels.Corner
BOTTOM_LEFT, BOTTOM_RIGHT, TOP_LEFT, TOP_RIGHT
 
Constructor Summary
TopRight()
           
 
Method Summary
protected  int horizontalInset(int indentLevel)
           
protected  Point makeTopRight(Point topLeft)
           
protected  Point moveToCorner(Point topLeft)
           
 
Methods inherited from class dsto.dfc.swing.panels.TopLeft
calculateFrameSizeDifference, indent, innerFrameTooLarge, locationFor, makePointAbsolute, pointLiesWithinFrame, usesAbsoluteCoordinates, verticalInset
 
Methods inherited from class dsto.dfc.swing.panels.Corner
locationFor, placeFrame, placeFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopRight

public TopRight()
Method Detail

moveToCorner

protected Point moveToCorner(Point topLeft)
Overrides:
moveToCorner in class TopLeft

horizontalInset

protected int horizontalInset(int indentLevel)
Overrides:
horizontalInset in class TopLeft

makeTopRight

protected Point makeTopRight(Point topLeft)


Copyright © 2008 Commonwealth of Australia