net.sf.doolin.gui.layout
Interface LayoutService

All Known Implementing Classes:
FormLayoutService, LayoutManagerService, SingleLayoutService, TableLayoutService

public interface LayoutService

Service used to position components into a container.

Author:
Damien Coraboeuf

Method Summary
 void add(JPanel panel, JComponent component, Object constraint)
          Adds a component to a panel using the given constraint.
 void init(JPanel panel)
          Initializes a panel for layout
 

Method Detail

init

void init(JPanel panel)
Initializes a panel for layout

Parameters:
panel - Panel to initialize.

add

void add(JPanel panel,
         JComponent component,
         Object constraint)
Adds a component to a panel using the given constraint.

Parameters:
panel - Container
component - Component to add
constraint - Constraint for the position


Copyright © 2011. All Rights Reserved.