NetBeans Architecture Answers for PropertySheet API module

WARNING: answering questions version 1.23 rather than the current 1.25.

Interfaces table

Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
PropertySheetAPIExportedOfficialhttp://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/explorer/doc-files/api.html

NodesAPIImportedOfficialhttp://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/nodes/doc-files/api.html

Property sheets primarily render the properties of objects encapsulated by nodes.

ActionsAPIImportedOfficialhttp://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/actions/doc-files/api.html

WindowSystemAPIImportedOfficialhttp://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/nodes/doc-files/api.html

OptionsAPIImportedOfficialhttp://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/options/doc-files/api.html

UtilitiesAPIImportedOfficialhttp://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/util/doc-files/api.html

Group of property interfaces
Interface NameIn/OutStabilitySpecified in What Document?
PropertyEditorsPropertiesExportedUnder Development../org/openide/explorer/doc-files/api.html#custom_property_editors

A variety of hints that can be supplied to property editors to influence their behavior. The usual usage is to create a feature descriptor and set parameters on it:
Node.Property prop = new Node.Property (Boolean.TYPE, ...);
prop.setValue ("stringValue", new String[] { "yes", "no" });

flatExportedDeprecated

(java.lang.Boolean) Client property of PropertyPanel applied using putClientProperty, to instruct a PropertyPanel instance to use a borderless UI suitable for use as a table renderer/editor. Also affects the behavior of combo boxes, enabling them to open on first click or focus, as appropriate for combo boxes displayed in a table. This property is obsoleted by PropertyPanel.PREF_TABLEUI which performs the same function when set as part of the PropertyPanel preferences bitmask, but is supported for backward compatibility

suppressCustomEditorExportedFriend

(java.lang.Boolean) Client property of PropertyPanel applied using putClientProperty, to instruct a PropertyPanel instance to suppresses the presence of the custom editor button even if the property editor supports a custom editor.

radioButtonMaxExportedFriend

(java.lang.Integer n) Client property of PropertyPanel applied using putClientProperty, to instruct a PropertyPanel instance to use radio buttons instead of a combo box for properties whose property editor supports tags but supplies less than n tags.

useLabelsExportedFriend

(java.lang.Boolean) Client property of PropertyPanel applied using putClientProperty, to instruct a PropertyPanel instance to use the property's display name as the caption for checkboxes, and as the title of a TitledBorder in the case of radiobuttons (this latter usage only applies if radioButtonMax is also used). The use of labels is important for checkboxes, as it is the natural way to display the meaning of a checkbox in a panel, and the label of a checkbox is what checkboxes use to indicate they have keyboard focus.

postSetActionExportedUnder Development

(javax.swing.Action) Object which, if provided from Property.getValue("postSetAction") will be run if and when the user changes the property value via the property sheet.

initialEditValueExportedUnder Development

(java.lang.String) String which, if provided from Property.getValue("initialEditValue") will be used as the initial value when the user initiates editing the property. This is used to, for example, suggest values for code completion, without showing the suggested value when the property sheet is simply painted

netbeans.ps.noCustomButtonsExportedPrivate

Boolean system property for the property sheet which, when true, hide the custom editor button that appears in the property sheet unless the cell is in edit mode.

netbeans.ps.forceRadioButtonsExportedPrivate

Boolean system property for the property sheet which, when true, instructs the property sheet to use a radio button editor instead of the default checkbox editor for boolean values

netbeans.ps.checkboxCaptionExportedPrivate

Boolean system property for the property sheet which, if true, means that a caption will be provided alongside checkboxes in the boolean editor

netbeans.ps.hideSingleExpansionExportedPrivate

Boolean system property for the property sheet which, when true, instructs the property sheet to hide the expansion handle for nodes that have only one property set (do not show a category called " properties" if it is the only category)

netbeans.ps.neverMarginExportedPrivate

Boolean system property for the property sheet which, when true, instructs the property sheet never to show a left-hand margin alongside the list of properties. This increases the available space to display property names and values at some aesthetic expense; it is useful on laptops with small screens.

netbeans.ps.combohackExportedPrivate

Boolean system property for the property sheet which, when true, forces the property sheet's combo box editor to use a heavyweight popup window, used to solve the above window manager problem in which the created heavyweight popup dimensions differ from those of the lightweight popup enough that the heavyweight popup could fit in the bounds of the parent, resulting in endless flipping between lightweight and heavyweight popups. This problem occurs on some pre-release versions of KDE for Linux.

netbeans.ps.forcetabsExportedPrivate

Boolean system property for the property sheet which, when true, forces each property set to be displayed in a separate tab (normally this is done only by providing a hint from a PropertySet via getValue("tabName").

netbeans.ps.nevertabsExportedPrivate

Boolean system property for the property sheet which, when true, disables use of tabs in the property sheet even if the property set provides a tab name via the above-mentioned hint

netbeans.reusable.strictthreadsExportedPrivate

Boolean system property for the property sheet which, if true, causes an ISE to be thrown if any attempt is made to access or paint the property sheet from a thread other than the AWT event thread

netbeans.ps.showHiddenPropertiesExportedFriend

Boolean system property for the property sheet which, when true, will cause it to display Node.Property objects even if they return true from isHidden(). The original behavior of the property sheet was to show these properties.

Group of javax.swing.UIManager interfaces
Interface NameIn/OutStabilitySpecified in What Document?
Tree.altbackgroundExportedFriend

(java.awt.Color) UIManager key for a value which, if non null in UIDefaults, provides an alternate background color that should be used for every other row in the property sheet

PropSheet.setBackgroundExportedFriend
PropSheet.selectionBackgroundExportedFriend

(java.awt.Color) UIManager key for a value which, if non null in UIDefaults, sets the background color for selected properties in the property sheet, overriding the default table selection color if present. Used to fulfil HIE color requirements on various platforms.

PropSheet.selectionForegroundExportedFriend

(java.awt.Color) UIManager key for a value which, if non null in UIDefaults, sets foreground color for selected properties in the property sheet, overriding the default table selection color if present. Used to fulfil HIE color requirements on various platforms.

PropSheet.selectedSetBackgroundExportedFriend

(java.awt.Color) UIManager key for a value which, if non null in UIDefaults, sets the background color for expandable property sets when selected in the UI

PropSheet.selectedSetForegroundExportedFriend

(java.awt.Color) UIManager key for a value which, if non null in UIDefaults, sets the foreground color for expandable property sets when selected in the UI

PropSheet.gridColorExportedFriend

(java.awt.Color) UIManager key for a value which, if non null in UIDefaults, sets the color for the grid of the property sheet table

PropSheet.disabledForegroundExportedFriend

(java.awt.Color) UIManager key for a value which, if non null in UIDefaults, sets the foreground color for disabled properties. May or may not be used, depending on the look and feel's implementation.

netbeans.ps.iconmarginExportedFriend

(java.lang.Integer) UIManager key for a value which, if non null in UIDefaults, sets the integer spacing that should be used to left of the expansion handle for property sets.

netbeans.ps.rowheightExportedFriend

(java.lang.Integer) UIManager key for a value which, if non null in UIDefaults, sets the sets a fixed row height for all elements in the property sheet. If not set, the value will be determined based on the font and/or the expansion handle icon, whichever is taller, the first time the property sheet is painted


General Information


Project and platform dependencies


Deployment


Compatibility with environment


Access to resources


Lookup of components


Execution Environment


Format of files and protocols


Performance and Scalability


Built on July 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.