All Packages Class Hierarchy This Package Previous Next Index
Interface dtai.gwt.GadgetLayoutManager
- public interface GadgetLayoutManager
Defines the interface for classes that know how to layout GadgetContainers.
- See Also:
- ContainerGadget
-
addLayoutGadget(String, Gadget)
- Adds the specified gadget with the specified name to
the layout.
-
childrenCanOverlap()
- returns true if children can overlap each other.
-
layoutContainerGadget(ContainerGadget)
- Lays out the container in the specified panel.
-
minimumLayoutSize(ContainerGadget)
- Calculates the minimum size dimensions for the specified
panel given the gadgets in the specified parent container.
-
preferredLayoutSize(ContainerGadget)
- Calculates the preferred size dimensions for the specified
panel given the gadgets in the specified parent container.
-
removeLayoutGadget(Gadget)
- Removes the specified gadget from the layout.
childrenCanOverlap
public abstract boolean childrenCanOverlap()
- returns true if children can overlap each other.
- Returns:
- false
addLayoutGadget
public abstract void addLayoutGadget(String name,
Gadget gadget)
- Adds the specified gadget with the specified name to
the layout.
- Parameters:
- name - the gadget name
- gadget - the gadget to be added
removeLayoutGadget
public abstract void removeLayoutGadget(Gadget gadget)
- Removes the specified gadget from the layout.
- Parameters:
- gadget - the gadget ot be removed
preferredLayoutSize
public abstract Dimension preferredLayoutSize(ContainerGadget parent)
- Calculates the preferred size dimensions for the specified
panel given the gadgets in the specified parent container.
- Parameters:
- parent - the gadget to be laid out
- See Also:
- minimumLayoutSize
minimumLayoutSize
public abstract Dimension minimumLayoutSize(ContainerGadget parent)
- Calculates the minimum size dimensions for the specified
panel given the gadgets in the specified parent container.
- Parameters:
- parent - the gadget to be laid out
- See Also:
- preferredLayoutSize
layoutContainerGadget
public abstract void layoutContainerGadget(ContainerGadget parent)
- Lays out the container in the specified panel.
- Parameters:
- parent - the gadget which needs to be laid out
All Packages Class Hierarchy This Package Previous Next Index