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

Variable Index

 o ADD_MARGIN_HEIGHT
The property ItemViewPanel.additionalInfo.marginHeight is the height (in points) of the margin around the additional info panel.
 o ADD_MARGIN_WIDTH
The property ItemViewPanel.additionalInfo.marginWidth is the width (in points) of the margin around the additional info panel.
 o ADDITIONAL_INFO_RENDERER
A property <name>.ItemView.additionalInfoRenderer gives the fully qualified name of a class to use as the ItemViewAdditionalInfoRenderer for this ItemView.
 o 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.
 o CANT_LOAD_CLASS
A property ItemView.Error.cantLoadClass gives the error message that will be displayed if a necessary class can't be loaded.
 o CATEGORY
A property <name>.ItemView.category.<field> is needed only if <field> is using richText as its display method.
 o 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).
 o FIELD_RENDERER
A property <name>ItemView.fieldRenderer gives the fully qualified name of a class to use as the ItemViewFieldRenderer for this ItemView.
 o FIELDS
A set of properties <name>.ItemView.fields<n> specifies the order in which to display the fields in a ItemView.
 o FRAME_OK
A property ItemViewFrame.okLabel is a string that specifies the text to be used in the OK button.
 o FRAME_VGAP
A property ItemViewFrame.vgap specifies the vertical gap (in points) between the ItemViewPanel and the buttons.
 o HGAP
A property ItemViewPanel.hgap specifies the horizontal gap (in points) between the icon and the info strings.
 o ICON_HEIGHT
A property ItemView.iconHeight is the height, in points, of the icon.
 o ICON_WIDTH
A property ItemView.iconWidth is the width, in points, of the icon.
 o ITEM_DELETED
A property <name>.ItemView.itemDeleted is the string to display in a dialog box when the Item is deleted.
 o 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.
 o 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.
 o 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.
 o 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.
 o MARGIN_HEIGHT
A property ItemViewPanel.marginHeight specifies the height (in points) of the margin at the top and bottom of the panel.
 o MARGIN_WIDTH
A property ItemViewPanel.marginWidth specifies the width (in points) of the margin at the left and right of the panel.
 o METHOD
A property <name>.ItemView.method.<field> specifies the way to generate a field.
 o 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.
 o PANEL_HEIGHT
A property ItemViewPanel.height specifies the height (in points) of the panel.
 o PANEL_WIDTH
A property ItemViewPanel.width specifies the width (in points) of the panel.
 o SELECTOR
A property <name>.ItemView.selector.<field> is needed only if <field> is using richText as its display method.
 o TASK_SHELF_TITLE
The string ItemView.taskShelfTitle is the string used as the label for the task shelf.
 o 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.
 o 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.

Variables

 o 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.

 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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.

 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o METHOD
 public static final String METHOD
A property <name>.ItemView.method.<field> specifies the way to generate a field. Must be one of: This property is used by ItemViewController.

See Also:
ItemViewController
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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