|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlpAttributeCustomization
This interface contains all the properties that can be customized in order to define the graphic representation of a business attribute in the JTGO Graphic Components.
The properties defined in this class can be used in the following cascading style sheet selectors:
object."MyBusinessClass/attributeOne" {
labelVisible: true;
label: @attributeOne;
iconVisible: true;
icon: '@|image("myImage")';
}
object."MyBusinessClass/attributeTwo" {
visibleInSystemWindow: true;
label: @attributeTwo;
captionLabelVisible: false;
}
| Method Summary | |
|---|---|
Color |
getAlarmBalloonBorderColor()
Deprecated. Please use IlvRoundRectBalloon instead. |
Color |
getAlarmBalloonColor()
Deprecated. Please use IlvRoundRectBalloon instead. |
int |
getAlarmBalloonOrientation()
Deprecated. Please use IlvRoundRectBalloon instead. |
int |
getAlarmBalloonPointerDepth()
Deprecated. Please use IlvRoundRectBalloon instead. |
int |
getAlarmBalloonPointerDistance()
Deprecated. Please use IlvRoundRectBalloon instead. |
int |
getAlarmBalloonRadius()
Deprecated. Please use IlvRoundRectBalloon instead. |
Color |
getAlarmBalloonShadowColor()
Deprecated. Please use IlvRoundRectBalloon instead. |
int |
getAlarmBalloonShadowThickness()
Deprecated. Please use IlvRoundRectBalloon instead. |
String |
getCaptionLabel()
Denotes the text used as an attribute description in the System Window. |
int |
getCenteredInsets()
Deprecated. Please use a composite graphic with a centered layout instead. |
Color |
getFocusBorderColor()
Returns the color of the border of the attribute when it has focus. |
int |
getFocusBorderWidth()
Returns the width of focus border. |
IlpGraphicRenderer |
getGraphicRenderer()
Deprecated. Please use class property in your CSS
files, defining the JComponent or
IlvGraphic that will be used to represent
the business attribute. |
int |
getHorizontalAlignment()
Returns the horizontal alignment of the label in the table cell. |
Image |
getIcon()
Returns the image that will be displayed as the icon in the graphical representation of the attribute. |
Color |
getInfoBalloonBorderColor()
Deprecated. Please use IlvRectBalloon instead. |
Color |
getInfoBalloonColor()
Deprecated. Please use IlvRectBalloon instead. |
int |
getInfoBalloonOrientation()
Deprecated. Please use IlvRectBalloon instead. |
int |
getInfoBalloonPointerDepth()
Deprecated. Please use IlvRectBalloon instead. |
Color |
getInfoBalloonShadowColor()
Deprecated. Please use IlvRectBalloon instead. |
int |
getInfoBalloonShadowThickness()
Deprecated. Please use IlvRectBalloon instead. |
IlpObjectInteractor |
getInteractor()
Returns the object interactor currently set in this representation object attribute. |
String |
getLabel()
Returns the text used as a label. |
Color |
getLabelBackground()
Returns the background color of the label text. |
Font |
getLabelFont()
Returns the font that will be used to display the label. |
Color |
getLabelForeground()
Returns the foreground color of the label text. |
int |
getLabelInsets()
Returns the insets (in pixels) of the attribute. |
int |
getLabelPosition()
Returns the position of the text of the label, relative to the icon. |
float |
getLabelSpacing()
Returns the spacing between the icon and the label. |
int |
getStackerAlignment()
Deprecated. Please use a Composite Graphic with a Stacker Layout instead. |
int |
getStackerOrientation()
Deprecated. Please use a Composite Graphic with a Stacker Layout instead. |
int |
getStackerSpacing()
Deprecated. Please use a Composite Graphic with a Stacker Layout instead. |
Color |
getToolTipBackground()
Returns the text tooltip background color. |
Font |
getToolTipFont()
Returns the font used to create the text tooltip for an object. |
Color |
getToolTipForeground()
Returns the text tooltip foreground color. |
Object |
getToolTipGraphic()
Returns the tooltip graphic object. |
IlpGraphicRenderer |
getToolTipRenderer()
Deprecated. Please use property toolTipGraphic instead. |
String |
getToolTipText()
Returns the text used as tooltip for an object. |
int |
getVerticalAlignment()
Returns the vertical alignment of the label in the table cell. |
boolean |
isCaptionLabelVisible()
Returns whether the label displayed in the header is visible. |
boolean |
isIconVisible()
Returns whether the icon that is part of the graphical representation of the attribute is visible. |
boolean |
isLabelVisible()
Returns whether the label should be visible or not in the graphical representation of the attribute. |
boolean |
isUseDefaultCellRenderer()
This property denotes the use of the default table cell renderer to render table cells. |
boolean |
isVisibleInSystemWindow()
Returns whether an attribute should be added to the System Window or not. |
| Method Detail |
|---|
boolean isLabelVisible()
Default value: Boolean.TRUE.
IlpAttributeKeys.LabelVisibleString getLabel()
Default value: none.
IlpAttributeKeys.LabelStringFont getLabelFont()
Default value: none.
IlpAttributeKeys.LabelFontint getLabelPosition()
Legal values are:
Default value: IlvDirection.Right.
IlpAttributeKeys.LabelPositionint getLabelInsets()
Default value: 1.
IlpAttributeKeys.LabelInsetsfloat getLabelSpacing()
Default value: 4.
IlpAttributeKeys.LabelSpacingColor getLabelForeground()
Default value: none.
Note: Blinking colors are not supported.
IlpAttributeKeys.LabelForegroundColor,
IlpAttributeKeys.SelectionForegroundColorColor getLabelBackground()
Default value: none.
Note: Blinking colors are not supported.
IlpAttributeKeys.LabelBackgroundColor,
IlpAttributeKeys.SelectionBackgroundColorColor getFocusBorderColor()
Default value: none.
Note: Blinking colors are not supported.
IlpAttributeKeys.FocusBorderColor,
getFocusBorderWidth()int getFocusBorderWidth()
Default value: 1.
getFocusBorderColor(),
IlpAttributeKeys.FocusBorderThicknessint getHorizontalAlignment()
Valid values for HORIZONTAL_ALIGNMENT are:
Default value: javax.swing.SwingConstants.LEFT
IlpAttributeKeys.HorizontalAlignmentint getVerticalAlignment()
Valid values for VERTICAL_ALIGNMENT are:
Default value: SwingConstants.CENTER.
IlpAttributeKeys.VerticalAlignmentboolean isIconVisible()
Default value: true.
IlpAttributeKeys.IconVisibleImage getIcon()
Default value: none.
IlpAttributeKeys.IconIlpObjectInteractor getInteractor()
Default value: none
Object interactors can be customized in a CSS as JavaBeans.
IlpObjectInteractorString getToolTipText()
Default value: none.
IlpAttributeKeys.ToolTipString,
IlpToolTipManagerIlpGraphicRenderer getToolTipRenderer()
toolTipGraphic instead.
Default value: none.
IlpAttributeKeys.ToolTipRenderer,
IlpGraphicRenderer,
IlpToolTipManagerObject getToolTipGraphic()
The tooltip graphic can be created using CSS as a
JComponent or an IlvGraphic instance.
This property has precedence over the tooltip text property.
Default value: none
getToolTipText(),
JComponent,
IlvGraphicFont getToolTipFont()
Default value: null, which represents that the
default tooltip font in the system is used.
getToolTipText()Color getToolTipForeground()
Default value: null, meaning that the
default tooltip foreground color in the system is used.
Color getToolTipBackground()
Default value: null, meaning that the
default tooltip background color in the system is used.
IlpGraphicRenderer getGraphicRenderer()
class property in your CSS
files, defining the JComponent or
IlvGraphic that will be used to represent
the business attribute.
Default value: none.
IlpAttributeKeys.GraphicRenderer,
IlvGraphic,
IlvCompositeGraphic,
JComponentboolean isVisibleInSystemWindow()
true and is
not represented by any other decoration.
Note: This property is only available for the Network and Equipment components
IlpAttributeKeys.VisibleInSystemWindowString getCaptionLabel()
Default value: none.
Note: This property is only available for the Network and Equipment components
IlpAttributeKeys.CaptionLabelStringboolean isCaptionLabelVisible()
Default value: Boolean.TRUE.
Note: This property is only available for the Network and Equipment components
IlpAttributeKeys.CaptionLabelVisibleboolean isUseDefaultCellRenderer()
This property only applies to the table component.
int getCenteredInsets()
Default value: 0.
IlpGraphic.CenteredInsets,
IlpCentered,
IlvCompositeGraphic,
IlvCenteredLayoutint getStackerSpacing()
Default value: 3.
IlpGraphic.StackerSpacing,
IlpStacker,
IlvCompositeGraphic,
IlvStackerLayoutint getStackerOrientation()
Default value: javax.swing.SwingConstants.RIGHT
IlpGraphic.StackerOrientation,
IlpStacker,
IlvCompositeGraphic,
IlvStackerLayoutint getStackerAlignment()
SwingConstants.TOPSwingConstants.BOTTOMSwingConstants.RIGHTSwingConstants.LEFTSwingConstants.CENTER
Default value: javax.swing.SwingConstants.CENTER.
IlpGraphic.StackerAlignment,
IlpStacker,
IlvCompositeGraphic,
IlvStackerLayoutint getInfoBalloonShadowThickness()
IlvRectBalloon instead.
IlpGraphic.InfoBalloonShadowThickness,
Default value: 0.
int getInfoBalloonPointerDepth()
IlvRectBalloon instead.
Default value: 0.
IlpGraphic.InfoBalloonPointerDepth,
IlpInfoBalloonint getInfoBalloonOrientation()
IlvRectBalloon instead.
SwingConstants.NORTH_EASTSwingConstants.NORTH_WESTSwingConstants.SOUTH_EASTSwingConstants.SOUTH_WESTSwingConstants.EASTSwingConstants.WESTDefault value: javax.swing.SwingConstants.NORTH_EAST.
IlpGraphic.InfoBalloonOrientation,
IlpInfoBalloonColor getInfoBalloonColor()
IlvRectBalloon instead.
Default value: java.awt.Color.white.
Note: Blinking colors are not supported.
IlpGraphic.InfoBalloonColor,
IlpInfoBalloonColor getInfoBalloonShadowColor()
IlvRectBalloon instead.
Default value: java.awt.Color.white.
Note: Blinking colors are not supported.
IlpGraphic.InfoBalloonShadowColor,
IlpInfoBalloonColor getInfoBalloonBorderColor()
IlvRectBalloon instead.
Default value: java.awt.Color.black.
Note: Blinking colors are not supported.
IlpGraphic.InfoBalloonBorderColor,
IlpInfoBalloonint getAlarmBalloonShadowThickness()
IlvRoundRectBalloon instead.
Default value: 0.
IlpGraphic.AlarmBalloonShadowThickness,
IlpAlarmBalloonint getAlarmBalloonPointerDepth()
IlvRoundRectBalloon instead.
Default value: 0.
IlpGraphic.AlarmBalloonPointerDepth,
IlpAlarmBalloonint getAlarmBalloonOrientation()
IlvRoundRectBalloon instead.
SwingConstants.NORTH_EASTSwingConstants.NORTH_WESTSwingConstants.SOUTH_EASTSwingConstants.SOUTH_WESTSwingConstants.EASTSwingConstants.WESTDefault value: javax.swing.SwingConstants.NORTH_EAST.
IlpGraphic.AlarmBalloonOrientation,
IlpAlarmBalloonColor getAlarmBalloonColor()
IlvRoundRectBalloon instead.
Default value: Color.white.
Note: Blinking colors are not supported.
IlpGraphic.AlarmBalloonColor,
IlpAlarmBalloonColor getAlarmBalloonShadowColor()
IlvRoundRectBalloon instead.
Default value: Color.white.
Note: Blinking colors are not supported.
IlpGraphic.AlarmBalloonShadowColor,
IlpAlarmBalloonColor getAlarmBalloonBorderColor()
IlvRoundRectBalloon instead.
Default value: Color.black.
Note: Blinking colors are not supported.
IlpGraphic.AlarmBalloonBorderColor,
IlpAlarmBalloonint getAlarmBalloonRadius()
IlvRoundRectBalloon instead.
Default value: 0.
IlpGraphic.AlarmBalloonRadius,
IlpAlarmBalloonint getAlarmBalloonPointerDistance()
IlvRoundRectBalloon instead.
Default value: 0.
IlpGraphic.AlarmBalloonPointerDistance,
IlpAlarmBalloon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||