EchoPoint
1.0

echopoint.layout
Class XyLayoutManager

java.lang.Object
  extended byechopoint.layout.AbstractLayoutManager
      extended byechopoint.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

Field Summary
 
Fields inherited from class echopoint.layout.AbstractLayoutManager
componentMap, layoutManageableWR
 
Constructor Summary
XyLayoutManager()
           
 
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 echopoint.layout.AbstractLayoutManager
addLayoutComponent, getComponent, getComponentMap, getContraints, getLayoutManageable, invalidateLayout, removeLayoutComponent, setLayoutManageable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XyLayoutManager

public XyLayoutManager()
Method Detail

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

EchoPoint
1.0