org.xulux.guilayer.swing.layouts
Class SwingLayoutAbstract

java.lang.Object
  extended by org.xulux.guilayer.swing.layouts.SwingLayoutAbstract
All Implemented Interfaces:
org.xulux.api.gui.IXuluxLayout
Direct Known Subclasses:
AutoSizeLayoutManager, SwingBorderLayout, SwingBoxLayout, SwingFlowLayout, SwingGridBagLayout, XYLayout

public abstract class SwingLayoutAbstract
extends java.lang.Object
implements org.xulux.api.gui.IXuluxLayout

An abstract convenience class, so you don't have to reimplement setParent etc all the time.

Version:
$Id: SwingLayoutAbstract.java,v 1.1 2004/05/24 18:12:34 mvdb Exp $
Author:
Martin van den Bemt

Field Summary
protected  org.xulux.api.gui.IWidget parentWidget
          This is the widget that actually created the layout..
 
Constructor Summary
SwingLayoutAbstract()
           
 
Method Summary
abstract  void destroy()
           
 org.xulux.api.gui.IWidget getParent()
           
 void setParent(org.xulux.api.gui.IWidget widget)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xulux.api.gui.IXuluxLayout
addWidget, removeWidget
 

Field Detail

parentWidget

protected org.xulux.api.gui.IWidget parentWidget
This is the widget that actually created the layout..

Constructor Detail

SwingLayoutAbstract

public SwingLayoutAbstract()
Method Detail

setParent

public void setParent(org.xulux.api.gui.IWidget widget)
Specified by:
setParent in interface org.xulux.api.gui.IXuluxLayout
See Also:
IXuluxLayout.setParent(org.xulux.api.gui.IWidget)

getParent

public org.xulux.api.gui.IWidget getParent()
Specified by:
getParent in interface org.xulux.api.gui.IXuluxLayout
See Also:
IXuluxLayout.getParent()

destroy

public abstract void destroy()
Specified by:
destroy in interface org.xulux.api.gui.IXuluxLayout
See Also:
IXuluxLayout.destroy()


Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.