cookxml.cookswing.helper
Class Constraint
java.lang.Object
cookxml.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
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 |
location
public String location
Constraint
public Constraint()
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