org.openpermis.editor.policy.gui.forms
Class FormBuilder.ComponentRow

java.lang.Object
  extended by org.openpermis.editor.policy.gui.forms.FormBuilder.AbstractRow
      extended by org.openpermis.editor.policy.gui.forms.FormBuilder.ComponentRow
All Implemented Interfaces:
FormBuilder.Row
Direct Known Subclasses:
FormBuilder.LabelComponentRow, FormBuilder.LabelComponentsRow, FormBuilder.LabelToolBarRow, FormBuilder.SingleComponentRow
Enclosing class:
FormBuilder

protected abstract static class FormBuilder.ComponentRow
extends FormBuilder.AbstractRow

Abstract row that contains multiple components.

Since:
0.9.0

Constructor Summary
FormBuilder.ComponentRow(String rowSpec, JComponent... components)
          Creates a new component row.
FormBuilder.ComponentRow(String rowSpec, String gapSpec, JComponent... components)
          Creates a new component row.
 
Method Summary
protected  JComponent getComponent(int index)
          Retrieves the component at the specified index.
 
Methods inherited from class org.openpermis.editor.policy.gui.forms.FormBuilder.AbstractRow
getGapSpec, getRowSpec, hasComponents, hasGap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openpermis.editor.policy.gui.forms.FormBuilder.Row
addComponents
 

Constructor Detail

FormBuilder.ComponentRow

public FormBuilder.ComponentRow(String rowSpec,
                                JComponent... components)
Creates a new component row.

Parameters:
rowSpec - the row specification to use.
components - the components of this row.
Since:
0.9.0

FormBuilder.ComponentRow

public FormBuilder.ComponentRow(String rowSpec,
                                String gapSpec,
                                JComponent... components)
Creates a new component row.

Parameters:
rowSpec - the row specification to use.
gapSpec - the gap specification to use.
components - the components of this row.
Since:
0.9.0
Method Detail

getComponent

protected JComponent getComponent(int index)
Retrieves the component at the specified index.

Parameters:
index - the index of the component to retrieve.
Returns:
the component requested.
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