net.sf.magicproject.ui.layout
Class LeftPanelLayout

java.lang.Object
  extended by net.sf.magicproject.ui.layout.LeftPanelLayout
All Implemented Interfaces:
java.awt.LayoutManager

public class LeftPanelLayout
extends java.lang.Object
implements java.awt.LayoutManager

Since:
0.81
Author:
Fabrice Daugan

Constructor Summary
LeftPanelLayout(JFlipFlapPanel flipFlapPanel, javax.swing.JPanel leftPanel, javax.swing.JTabbedPane playerPanel, javax.swing.JTabbedPane previewPanel, javax.swing.JTabbedPane zonePanel, javax.swing.JPanel youAdditionalZones, javax.swing.JPanel opponentAdditionalZones)
          Creates a new instance of AttachmentLayout
 
Method Summary
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
           
 void layoutContainer(java.awt.Container target)
           
 java.awt.Dimension minimumLayoutSize(java.awt.Container target)
           
 java.awt.Dimension preferredLayoutSize(java.awt.Container target)
           
 void removeLayoutComponent(java.awt.Component comp)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeftPanelLayout

public LeftPanelLayout(JFlipFlapPanel flipFlapPanel,
                       javax.swing.JPanel leftPanel,
                       javax.swing.JTabbedPane playerPanel,
                       javax.swing.JTabbedPane previewPanel,
                       javax.swing.JTabbedPane zonePanel,
                       javax.swing.JPanel youAdditionalZones,
                       javax.swing.JPanel opponentAdditionalZones)
Creates a new instance of AttachmentLayout

Parameters:
flipFlapPanel -
leftPanel -
playerPanel -
previewPanel -
zonePanel -
youAdditionalZones -
opponentAdditionalZones -
Method Detail

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
Specified by:
preferredLayoutSize in interface java.awt.LayoutManager

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
Specified by:
minimumLayoutSize in interface java.awt.LayoutManager

layoutContainer

public void layoutContainer(java.awt.Container target)
Specified by:
layoutContainer in interface java.awt.LayoutManager

addLayoutComponent

public void addLayoutComponent(java.lang.String name,
                               java.awt.Component comp)
Specified by:
addLayoutComponent in interface java.awt.LayoutManager

removeLayoutComponent

public void removeLayoutComponent(java.awt.Component comp)
Specified by:
removeLayoutComponent in interface java.awt.LayoutManager


Copyright © 2003-2007 Magic-Project. All Rights Reserved.