Package com.bc.ceres.swing.binding
Class PropertyPane
java.lang.Object
com.bc.ceres.swing.binding.PropertyPane
A utility class used to create a
JPanel
containing default Swing components and their corresponding bindings for the
PropertyContainer
given by the BindingContext
.
If the displayName
property of the binding's PropertySet
is set, it will be used as label, otherwise a label is derived from the name
property.
Properties, whose attribute "enabled" is set to false
, will be shown in disabled state.
Properties, whose attribute "visible" is set to false
, will not be shown at all.
- Version:
- $Revision$ $Date$
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPropertyPane
(PropertySet propertySet) PropertyPane
(BindingContext bindingContext) -
Method Summary
Modifier and TypeMethodDescriptionstatic JComponent[]
addComponent
(int rowIndex, TableLayout layout, JPanel panel, BindingContext bindingContext, PropertyEditorRegistry registry, PropertyDescriptor descriptor)
-
Field Details
-
PROPERTY_SECTIONBREAK_NAME_SUFFIX
- See Also:
-
-
Constructor Details
-
PropertyPane
-
PropertyPane
-
-
Method Details
-
getBindingContext
-
createPanel
-
createJScrollPanel
-
addComponent
public static JComponent[] addComponent(int rowIndex, TableLayout layout, JPanel panel, BindingContext bindingContext, PropertyEditorRegistry registry, PropertyDescriptor descriptor)
-