cookxml.cookswing.helper
Class Constraint

java.lang.Object
  extended bycookxml.cookswing.helper.Constraint
All Implemented Interfaces:
NoAdd

public class Constraint
extends Object
implements NoAdd

This class is created merely to remember the location value for BorderLayout, CardLayout and OverlayLayout.

Since:
CookSwing 1.0
See Also:
LayoutConstraintAdder

Field Summary
 String location
           
 
Constructor Summary
Constraint()
           
 
Method Summary
 void setName(String name)
          This setter is used by CardLayout and OverlayLayout to set the name of the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

public String location
Constructor Detail

Constraint

public Constraint()
Method Detail

setName

public void setName(String name)
This setter is used by CardLayout and OverlayLayout to set the name of the component. We give it a different name so that it sounds better.

Parameters:
name - the name of the component