echopoint.layout
Class XyLayoutManager
java.lang.Object
echopoint.layout.AbstractLayoutManager
echopoint.layout.XyLayoutManager
- All Implemented Interfaces:
- LayoutManager, java.io.Serializable
- public class XyLayoutManager
- extends AbstractLayoutManager
The XyLayoutManager
can place components at specific
{x,y} coordinates. A XyCoord constraints object is
used to specify these co-ordinates.
If the component implements Positionable then its placed directly at the
specified XyCoord. Otherwise it is wrapped and placed in a Postionable and
then placed at the defined XyCoord. If no XyCoord is present
when the component is added to the layour manager, then its
not place directly but rather will flow as usual.
- See Also:
- Serialized Form
Method Summary |
int |
getPositioning()
Returns the default positioning currently in use |
void |
setPositioning(int positioning)
Sets the positioning to use if a component is not directly
Postionalble or or the component implements Positionable but
its positioning is set to Positionable.POSITIONING_FLOW. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XyLayoutManager
public XyLayoutManager()
getPositioning
public int getPositioning()
- Returns the default positioning currently in use
- Returns:
- - Positionable.POSITIONING_ABSOLUTE or Positionable.POSITIONING_RELATIVE
setPositioning
public void setPositioning(int positioning)
- Sets the positioning to use if a component is not directly
Postionalble or or the component implements Positionable but
its positioning is set to Positionable.POSITIONING_FLOW.
- Parameters:
positioning
- - can be Positionable.POSITIONING_ABSOLUTE or Positionable.POSITIONING_RELATIVE