org.openpermis.editor.policy.gui.forms
Interface FormBuilder.Row

All Known Implementing Classes:
FormBuilder.AbstractRow, FormBuilder.ComponentRow, FormBuilder.GapRow, FormBuilder.LabelComponentRow, FormBuilder.LabelComponentsRow, FormBuilder.LabelToolBarRow, FormBuilder.SingleComponentRow
Enclosing class:
FormBuilder

protected static interface FormBuilder.Row

Describes a single row during construction time of a form builder layout.

Since:
0.9.0

Method Summary
 void addComponents(JComponent container, SmartConstraints sc)
          Adds the components of this row to the specified container using the constraints given.
 String getGapSpec()
          Returns specification of the vertical gap above this row.
 String getRowSpec()
          Returns the row specification for this row.
 boolean hasComponents()
          Check if this row has a row spec for components.
 boolean hasGap()
          Check if this row has a gap in front of it.
 

Method Detail

hasGap

boolean hasGap()
Check if this row has a gap in front of it.

Returns:
true if the row has a gap, false otherwise.
Since:
0.9.0

getGapSpec

String getGapSpec()
Returns specification of the vertical gap above this row.

Returns:
specification of the vertical gap above this row.
Since:
0.9.0

hasComponents

boolean hasComponents()
Check if this row has a row spec for components.

Returns:
true if this row doesn't contain components and is only a gap row.
Since:
0.9.0

getRowSpec

String getRowSpec()
Returns the row specification for this row.

Returns:
the row specification for this row.
Since:
0.9.0

addComponents

void addComponents(JComponent container,
                   SmartConstraints sc)
Adds the components of this row to the specified container using the constraints given.

Parameters:
container - the container to add the components to.
sc - the constraints to use.
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG