All Packages Class Hierarchy This Package Previous Next Index
Interface com.sgi.sysadm.ui.ItemViewProperties
- public interface ItemViewProperties
A class that contains all the names of Properties used by ItemViews
and associated classes.
The default values for the properties contained here are defined in
com.sgi.sysadm.ui.ItemViewContextP.properties and may be
overridden by the PackageP.properties file(s) of the product or,
more typically, in the <product>.category.<category
name>P.properties file. See
the ItemView documentation for more details.
Many of the properties begin with the sequence <name>
The name that is passed to the ItemViewController should
be substituted for this String. If you use ItemView's
createItemView to create an ItemView, then the package
qualified name of the Category will be passed as name.
- See Also:
- ItemView, ItemViewController, createItemView
-
ADD_MARGIN_HEIGHT
- The property ItemViewPanel.additionalInfo.marginHeight
is the height (in points) of the margin around the additional info
panel.
-
ADD_MARGIN_WIDTH
- The property ItemViewPanel.additionalInfo.marginWidth
is the width (in points) of the margin around the additional info
panel.
-
ADDITIONAL_INFO_RENDERER
- A property <name>.ItemView.additionalInfoRenderer gives the
fully qualified name of a class to use as the
ItemViewAdditionalInfoRenderer for this ItemView.
-
BASED_ON
- A property <name>.ItemView.basedOn.<field>
is a string that tells
which Attribute of the Item is associated with the field given by
<field>, where <name> is the name that was passed the
the constructor of ItemViewController.
-
CANT_LOAD_CLASS
- A property ItemView.Error.cantLoadClass gives the
error message that will be displayed if a necessary class can't
be loaded.
-
CATEGORY
- A property <name>.ItemView.category.<field>
is needed only if
<field> is using richText as its display
method.
-
EMPTY
- A property <name>.ItemView.empty.<field>
gives a string to use if the Attribute that
this field is based on is empty (string length 0).
-
FIELD_RENDERER
- A property
<name>ItemView.fieldRenderer
gives the fully
qualified name of a class to use as the
ItemViewFieldRenderer for this ItemView.
-
FIELDS
- A set of properties <name>.ItemView.fields<n>
specifies the order in which to display the fields in a
ItemView.
-
FRAME_OK
- A property ItemViewFrame.okLabel is a string that
specifies the text to be used in the OK button.
-
FRAME_VGAP
- A property ItemViewFrame.vgap specifies the
vertical gap (in points) between the ItemViewPanel and the
buttons.
-
HGAP
- A property ItemViewPanel.hgap specifies the
horizontal gap (in points) between the icon and the info
strings.
-
ICON_HEIGHT
- A property ItemView.iconHeight is the height, in points,
of the icon.
-
ICON_WIDTH
- A property ItemView.iconWidth is the width, in points,
of the icon.
-
ITEM_DELETED
- A property <name>.ItemView.itemDeleted is the
string to display in a dialog box when the Item is deleted.
-
ITEM_NOT_FOUND_ERROR
- A property <name>.ItemView.itemNotFoundError is
the string to display in a dialog box if an ItemView is set to
an Item that does not exist.
-
ITEM_VIEW_FACTORY
- A property ItemView.factory is a String that gives the
package qualified name of a subclass of
com.sgi.syadm.ui.ItemViewFactory to use to create an ItemView.
-
LABEL
- A property
<name>.ItemView.label.<field> specifies the
label to be used by a particular field, where <field> should be
the field, as defined by the FIELDS property, and <name>
is the name that was passed the the constructor of
ItemViewController.
-
LOOKUP
- A property
<name>.ItemView.lookup.<field>.<Attribute's value>
gives the string to display as the value of an field
if the field and the value of the Attribute that this field is
based on are are specified.
-
MARGIN_HEIGHT
- A property ItemViewPanel.marginHeight specifies the height
(in points) of the margin at the top and bottom of the panel.
-
MARGIN_WIDTH
- A property ItemViewPanel.marginWidth specifies the width
(in points) of the margin at the left and right of the panel.
-
METHOD
- A property
<name>.ItemView.method.<field>
specifies the way to generate a field.
-
MISSING
- A property <name>.ItemView.missing.<field>
gives a string to use if the Attribute that
this field is based on is missing from the Item.
-
PANEL_HEIGHT
- A property ItemViewPanel.height specifies the height
(in points) of the panel.
-
PANEL_WIDTH
- A property ItemViewPanel.width specifies the width
(in points) of the panel.
-
SELECTOR
- A property <name>.ItemView.selector.<field>
is needed only if <field> is using richText as its display
method.
-
TASK_SHELF_TITLE
- The string ItemView.taskShelfTitle is the string used
as the label for the task shelf.
-
VALUE_RLABEL_NAME
- The string ItemView.values is the string that is used
as the name of the RLabels that are created for the values in
the calls to addItemViewInfo.
-
VGAP
- A property ItemViewPanel.vgap specifies the vertical
gap (in points) between taller of the icon or the fields
and the AdditionalInfo panel, and between the AdditionalInfo
and the TaskShelf.
CANT_LOAD_CLASS
public static final String CANT_LOAD_CLASS
- A property ItemView.Error.cantLoadClass gives the
error message that will be displayed if a necessary class can't
be loaded.
ITEM_VIEW_FACTORY
public static final String ITEM_VIEW_FACTORY
- A property ItemView.factory is a String that gives the
package qualified name of a subclass of
com.sgi.syadm.ui.ItemViewFactory to use to create an ItemView.
If this is not specified, the default ItemViewFactory will be
used to create ItemViews. This property is used by ItemView.
- See Also:
- ItemView, ItemViewFactory
ICON_HEIGHT
public static final String ICON_HEIGHT
- A property ItemView.iconHeight is the height, in points,
of the icon. This property is used by ItemView.
- See Also:
- ItemView
ICON_WIDTH
public static final String ICON_WIDTH
- A property ItemView.iconWidth is the width, in points,
of the icon. This property is used by ItemView.
- See Also:
- ItemView
FIELD_RENDERER
public static final String FIELD_RENDERER
- A property
<name>ItemView.fieldRenderer
gives the fully
qualified name of a class to use as the
ItemViewFieldRenderer for this ItemView. This property is used by ItemViewFactory.
- See Also:
- ItemViewFactory
ADDITIONAL_INFO_RENDERER
public static final String ADDITIONAL_INFO_RENDERER
- A property <name>.ItemView.additionalInfoRenderer gives the
fully qualified name of a class to use as the
ItemViewAdditionalInfoRenderer for this ItemView. This property
is used by ItemViewFactory.
- See Also:
- ItemViewFactory
VGAP
public static final String VGAP
- A property ItemViewPanel.vgap specifies the vertical
gap (in points) between taller of the icon or the fields
and the AdditionalInfo panel, and between the AdditionalInfo
and the TaskShelf. This property is used by ItemViewPanel.
- See Also:
- ItemViewPanel
HGAP
public static final String HGAP
- A property ItemViewPanel.hgap specifies the
horizontal gap (in points) between the icon and the info
strings. This property is used by ItemViewPanel.
- See Also:
- ItemViewPanel
PANEL_WIDTH
public static final String PANEL_WIDTH
- A property ItemViewPanel.width specifies the width
(in points) of the panel. This property is used by ItemViewPanel.
- See Also:
- ItemViewPanel
PANEL_HEIGHT
public static final String PANEL_HEIGHT
- A property ItemViewPanel.height specifies the height
(in points) of the panel. This property is used by ItemViewPanel.
- See Also:
- ItemViewPanel
MARGIN_HEIGHT
public static final String MARGIN_HEIGHT
- A property ItemViewPanel.marginHeight specifies the height
(in points) of the margin at the top and bottom of the panel.
This property is used by ItemViewPanel.
- See Also:
- ItemViewPanel
MARGIN_WIDTH
public static final String MARGIN_WIDTH
- A property ItemViewPanel.marginWidth specifies the width
(in points) of the margin at the left and right of the panel.
This property is used by ItemViewPanel.
- See Also:
- ItemViewPanel
VALUE_RLABEL_NAME
public static final String VALUE_RLABEL_NAME
- The string ItemView.values is the string that is used
as the name of the RLabels that are created for the values in
the calls to addItemViewInfo. ItemViewAdditionalInfoRenderers
can use this as the name of RLabels they create so that their
RLabels match the infrastructure's RLabels.
TASK_SHELF_TITLE
public static final String TASK_SHELF_TITLE
- The string ItemView.taskShelfTitle is the string used
as the label for the task shelf. This property is used by
ItemViewPanel.
- See Also:
- ItemViewPanel
ADD_MARGIN_WIDTH
public static final String ADD_MARGIN_WIDTH
- The property ItemViewPanel.additionalInfo.marginWidth
is the width (in points) of the margin around the additional info
panel. This property is used by ItemViewPanel.
- See Also:
- ItemViewPanel
ADD_MARGIN_HEIGHT
public static final String ADD_MARGIN_HEIGHT
- The property ItemViewPanel.additionalInfo.marginHeight
is the height (in points) of the margin around the additional info
panel. This property is used by ItemViewPanel.
- See Also:
- ItemViewPanel
FIELDS
public static final String FIELDS
- A set of properties <name>.ItemView.fields<n>
specifies the order in which to display the fields in a
ItemView. This property is used by ItemViewController.
- See Also:
- ItemViewController
LABEL
public static final String LABEL
- A property
<name>.ItemView.label.<field> specifies the
label to be used by a particular field, where <field> should be
the field, as defined by the FIELDS property, and <name>
is the name that was passed the the constructor of
ItemViewController. This property is used by
ItemViewController.
- See Also:
- ItemViewController
BASED_ON
public static final String BASED_ON
- A property <name>.ItemView.basedOn.<field>
is a string that tells
which Attribute of the Item is associated with the field given by
<field>, where <name> is the name that was passed the
the constructor of ItemViewController. This is only necessary
if the fields's name is not the same as the Attribute's key
(as returned by getKey) This property is used by
ItemViewController.
- See Also:
- ItemViewController
METHOD
public static final String METHOD
- A property
<name>.ItemView.method.<field>
specifies the way to generate a field.
Must be one of:
- toString
- richText
- renderer
- lookup
This property is used by ItemViewController.
- See Also:
- ItemViewController
LOOKUP
public static final String LOOKUP
- A property
<name>.ItemView.lookup.<field>.<Attribute's value>
gives the string to display as the value of an field
if the field and the value of the Attribute that this field is
based on are are specified. This property is used by ItemViewController.
- See Also:
- ItemViewController
ITEM_NOT_FOUND_ERROR
public static final String ITEM_NOT_FOUND_ERROR
- A property <name>.ItemView.itemNotFoundError is
the string to display in a dialog box if an ItemView is set to
an Item that does not exist. If the string has a {0} sequence,
it will be replaced with the selector of the Item that was not
found. If this property does not exist or is empty, then no
dialog will be displayed. This property is used by ItemViewController.
- See Also:
- ItemViewController
ITEM_DELETED
public static final String ITEM_DELETED
- A property <name>.ItemView.itemDeleted is the
string to display in a dialog box when the Item is deleted. If
the string has a {0} sequence, it will be replaced with the
selector of the deleted Item. If this property does not exist
or is empty, then no dialog will be displayed. This property
is used by ItemViewController.
- See Also:
- ItemViewController
CATEGORY
public static final String CATEGORY
- A property <name>.ItemView.category.<field>
is needed only if
<field> is using richText as its display
method. This property specifies the Category to use when
lauching an ItemView. This property is used by ItemViewController.
- See Also:
- ItemViewController
SELECTOR
public static final String SELECTOR
- A property <name>.ItemView.selector.<field>
is needed only if <field> is using richText as its display
method. This property specifies the key of the Attribute whose
value should be used as the selector of the ItemView to
launch. To use the same selector as the Item being displayed
in the ItemView, use the literal string ITEM_SELECTOR
This property is used by ItemViewController.
- See Also:
- ItemViewController
MISSING
public static final String MISSING
- A property <name>.ItemView.missing.<field>
gives a string to use if the Attribute that
this field is based on is missing from the Item. This will be
used for the toString, richText, and lookup methods. This
property is used by ItemViewController.
- See Also:
- ItemViewController
EMPTY
public static final String EMPTY
- A property <name>.ItemView.empty.<field>
gives a string to use if the Attribute that
this field is based on is empty (string length 0). This will be
used for the toString, richText, and lookup methods. This
property is used by ItemViewController.
- See Also:
- ItemViewController
FRAME_VGAP
public static final String FRAME_VGAP
- A property ItemViewFrame.vgap specifies the
vertical gap (in points) between the ItemViewPanel and the
buttons. This property is used by ItemViewFrame.
- See Also:
- ItemViewFrame
FRAME_OK
public static final String FRAME_OK
- A property ItemViewFrame.okLabel is a string that
specifies the text to be used in the OK button. This property
is used by ItemViewFrame.
- See Also:
- ItemViewFrame
All Packages Class Hierarchy This Package Previous Next Index