Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::gp::explorer::properties::PropertyField Class Reference

Inheritance diagram for cern::gp::explorer::properties::PropertyField:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 PropertyField (GPNode node, String propName)
 PropertyField (GPNode node, final String propName, int preferences)

Static Public Attributes

final int PREF_READ_ONLY = 0x0001
final int PREF_CUSTOM_EDITOR = 0x0002
final int PREF_INPUT_STATE = 0x0004

Protected Member Functions

 PropertyField (PropertyModel model, Object bean, String propName, int preferences)

Static Protected Member Functions

Node.Property getNodeProperty (Node.PropertySet[] psArr, String propName)

Detailed Description

A GUI field useful to edit one property which can be embedded in another GUI This is the same as used in the GP Explorers and in the Property Sheet opened by the cern.gp.actions.PropertiesAction, and therefore has the same behavior and representation as those property panels.

It is based on org.openide.explorer.propertysheet.PropertyPanel

Author:
Vito Baggiolini
Version:
Revision
1.2
,
Date
2006/09/25 08:52:36
,
Author
acaproni


Constructor & Destructor Documentation

cern::gp::explorer::properties::PropertyField::PropertyField GPNode  node,
String  propName
[inline]
 

Constructor that creates a PropertyField from a node and a property Name,

Parameters:
node the GPNode to which the property belongs
propName the property name of this field

cern::gp::explorer::properties::PropertyField::PropertyField GPNode  node,
final String  propName,
int  preferences
[inline]
 

Constructor that creates a PropertyField from a node and a property Name, with preferences

Parameters:
node the GPNode to which the property belongs
propName the property name of this field
preferences one or more of PREF_CUSTOM_EDITOR, PREF_INPUT_STATE, or PREF_READ_ONLY

cern::gp::explorer::properties::PropertyField::PropertyField PropertyModel  model,
Object  bean,
String  propName,
int  preferences
[inline, protected]
 

Parameters:
model 
preferences 


Member Function Documentation

Node.Property cern::gp::explorer::properties::PropertyField::getNodeProperty Node.PropertySet[]  psArr,
String  propName
[inline, static, protected]
 

helper method, finds the Node.Property for the indicated propName

Parameters:
psArr the Node.Property[] normally used to create a Property Sheet for a node
propName the name of the property requested
Returns:
the Node.Property for the property propName
Exceptions:
IllegalArgumentException if the property is not found


Member Data Documentation

final int cern::gp::explorer::properties::PropertyField::PREF_CUSTOM_EDITOR = 0x0002 [static]
 

Constant defining preferences in displaying of value. Value should be displayed in custom editor.

final int cern::gp::explorer::properties::PropertyField::PREF_INPUT_STATE = 0x0004 [static]
 

Constant defining preferences in displaying of value. Value should be displayed in editor only.

final int cern::gp::explorer::properties::PropertyField::PREF_READ_ONLY = 0x0001 [static]
 

Constant defining preferences in displaying of value. Value should be displayed in read-only mode.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:08:29 2009 for ACS Java API by doxygen 1.3.8