com.arsdigita.bebop
Class PropertySheet
java.lang.Object
com.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.TextStylable
com.arsdigita.bebop.BlockStylable
com.arsdigita.bebop.Table
com.arsdigita.bebop.PropertySheet
- All Implemented Interfaces:
- BebopConstants, Cloneable, Component, Lockable
- Direct Known Subclasses:
- DomainObjectPropertySheet
- public class PropertySheet
- extends Table
Displays a list of label-value pairs that
represent the properties of some object. For example, a
typical PropertySheet
may look like this:
First Name: | Stanislav |
Last Name: | Freidin |
Mission: | Sleep |
This class relies on the PropertySheetModelBuilder
to
supply it with the right PropertySheetModel
during
each request. It is up to the user to provide the right
builder.
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/bebop/PropertySheet.java#11 $
- Author:
- Stanislav Freidin
Fields inherited from class com.arsdigita.bebop.BlockStylable |
ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CENTER, FULL_WIDTH, INSERT, LEFT, MIDDLE, RIGHT, TEXTTOP, TOP |
Fields inherited from interface com.arsdigita.bebop.util.BebopConstants |
BEBOP_BORDER, BEBOP_BOXPANEL, BEBOP_CELL, BEBOP_CHECKBOX, BEBOP_CHECKBOXGROUP, BEBOP_COLUMNPANEL, BEBOP_DATE, BEBOP_DATETIME, BEBOP_DHTMLEDITOR, BEBOP_FORMERRORS, BEBOP_FORMWIDGET, BEBOP_GRIDPANEL, BEBOP_LIST, BEBOP_MULTISELECT, BEBOP_OPTION, BEBOP_PAD, BEBOP_PADFRAME, BEBOP_PANELROW, BEBOP_PORTAL, BEBOP_PORTLET, BEBOP_RADIO, BEBOP_RADIOGROUP, BEBOP_SEG_BODY, BEBOP_SEG_HEADER, BEBOP_SEG_PANEL, BEBOP_SEGMENT, BEBOP_SELECT, BEBOP_TABLE, BEBOP_TABLEBODY, BEBOP_TABLEROW, BEBOP_TEXTAREA |
Methods inherited from class com.arsdigita.bebop.Table |
addTableActionListener, children, clearSelection, createTableActionListener, fireCellSelected, fireHeadSelected, generateExtraXMLAttributes, generateXML, getBorder, getCellPadding, getCellSpacing, getColumn, getColumnModel, getColumnSelectionModel, getControler, getDefaultCellRenderer, getEmptyView, getHeader, getModelBuilder, getRowSelectionModel, getStriped, getTableModel, getWidth, isSelectedCell, isSelectedColumn, isSelectedRow, lock, register, removeTableActionListener, respond, setBorder, setCellPadding, setCellSpacing, setColumn, setColumnModel, setColumnSelectionModel, setDefaultCellRenderer, setEmptyView, setHeader, setModelBuilder, setRowSelectionModel, setStriped, setWidth |
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, register, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
versionId
public static final String versionId
- See Also:
- Constant Field Values
EMPTY_MODEL
public static final PropertySheetModel EMPTY_MODEL
- An empty
PropertySheetModel
.
PropertySheet
public PropertySheet(PropertySheetModelBuilder modelBuilder)
- Constructs a new
PropertySheet
.
- Parameters:
modelBuilder
- the property sheet model builder
that is responsible for building the property
sheet model
PropertySheet
public PropertySheet(PropertySheetModelBuilder modelBuilder,
boolean valueOutputEscape)
- Constructs a new
PropertySheet
and sets the output
escape value.
- Parameters:
modelBuilder
- the property sheet model builder
that is responsible for building the property
sheet modelvalueOutputEscape
- the value of the label-value
pair's output-escaping
getPropertySheetModelBuilder
public PropertySheetModelBuilder getPropertySheetModelBuilder()
- Returns the
PropertySheetModelBuilder
.
- Returns:
- the
PropertySheetModelBuilder
.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC