public class CardUI extends BaseEquipmentUI
Modifier and Type | Field and Description |
---|---|
static java.awt.Image |
IMAGE_BOLT |
editableBorder
drawImageShape
bodyFill, bodyRaised, color, customDraw, customDrawAntialias, customDrawDefaultBorder, customDrawFill, customDrawFill3D, customDrawFillColor, customDrawGradient, customDrawGradientColor, customDrawOutline, customDrawOutline3D, customDrawOutlineColor, customDrawOutlineStroke, defaultBorder, gradientFactory, shapeFactory
alarmAttachment, attachmentOrientation, attachmentPosition, attachments, attachmentXGap, attachmentXOffset, attachmentYGap, attachmentYOffset, borderInsets, element, labelAttachment, network, renderAlpha, stateOutlineInsets, textureFactory
Constructor and Description |
---|
CardUI(TNetwork network,
Card card)
Constructs a card ui with specified network component
and card element.
|
Modifier and Type | Method and Description |
---|---|
Card |
getCard() |
void |
paintBody(java.awt.Graphics2D g2d)
Paint the card body.
|
void |
updateClientProperty(java.lang.String propertyName)
Update the card element's client properties.
|
getBorder
contains, getDrillDownChassis, getImageShape, getNode, isDrawImageShape, paintStateOutline, performAction
getBaseElement, getColor, getHotspot, getShapeFactory, getUIBounds, isBodyFill, isCustomDraw, isCustomDrawDefaultBorder, paint, paintCustomDraw, paintCustomDrawBody, paintCustomDrawOutline, paintCustomDrawStateOutline
addAttachment, attachments, containInAttachments, elementPropertyChange, getAlarmAttachment, getAttachementsArea, getAttachementsBounds, getAttachmentAt, getAttachmentOrientation, getAttachmentPosition, getAttachmentXGap, getAttachmentXOffset, getAttachmentYGap, getAttachmentYOffset, getBlinkStruct, getBorderShape, getDefaultBorderInset, getElement, getLabelAttachment, getNetwork, getPaintBodyColor, getSeletableAttachementsArea, getStateOutlineColor, installAttachments, isBodyDark, isOutlineDark, mouseClicked, paintAttachments, paintBorder, removeAttachment, setBodyPaint, setLabelAttachment, setStateOutline
public Card getCard()
public void paintBody(java.awt.Graphics2D g2d)
public void updateClientProperty(java.lang.String propertyName)
updateClientProperty
in interface ElementUI
updateClientProperty
in class NodeUI
propertyName
- the client property name which has changed.Copyright © 2002 - 2010 Serva Software. All Rights Reserved.