edu.umd.cs.piccolox.swing
Class PViewport.PViewportLayout

java.lang.Object
  extended by javax.swing.ViewportLayout
      extended by edu.umd.cs.piccolox.swing.PViewport.PViewportLayout
All Implemented Interfaces:
LayoutManager, Serializable
Enclosing class:
PViewport

public static class PViewport.PViewportLayout
extends ViewportLayout

A simple layout manager to give the ZCanvas the same size as the Viewport.

See Also:
Serialized Form

Constructor Summary
PViewport.PViewportLayout()
           
 
Method Summary
 void layoutContainer(Container parent)
          Called when the specified container needs to be laid out.
 
Methods inherited from class javax.swing.ViewportLayout
addLayoutComponent, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PViewport.PViewportLayout

public PViewport.PViewportLayout()
Method Detail

layoutContainer

public void layoutContainer(Container parent)
Called when the specified container needs to be laid out.

Specified by:
layoutContainer in interface LayoutManager
Overrides:
layoutContainer in class ViewportLayout
Parameters:
parent - the container to lay out


Copyright © 1995-2010 Piccolo2D. All Rights Reserved.