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 |
---|
RoundRectUI(TNetwork network,
RoundRect element) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int x,
int y)
Override this method to return a more accurate value.
|
void |
elementPropertyChange(java.beans.PropertyChangeEvent evt)
Invoked when the related element's any property change.
|
java.awt.Rectangle |
getUIBounds()
For this abstract element UI, it return a rectangle box encloses
the element and it's border.
|
void |
paintAttachments(java.awt.Graphics2D g2d)
Paint each attachment of this element on specified graph.
|
void |
paintBody(java.awt.Graphics2D g2d)
Paint this node body.
|
void |
paintBorder(java.awt.Graphics2D g2d)
Paint specified element object border on specified graphics.
|
void |
paintStateOutline(java.awt.Graphics2D g2d)
Paint the element state outline.
|
getDrillDownChassis, getImageShape, getNode, isDrawImageShape, performAction, updateClientProperty
getBaseElement, getBorder, getColor, getHotspot, getShapeFactory, isBodyFill, isCustomDraw, isCustomDrawDefaultBorder, paint, paintCustomDraw, paintCustomDrawBody, paintCustomDrawOutline, paintCustomDrawStateOutline
addAttachment, attachments, containInAttachments, getAlarmAttachment, getAttachementsArea, getAttachementsBounds, getAttachmentAt, getAttachmentOrientation, getAttachmentPosition, getAttachmentXGap, getAttachmentXOffset, getAttachmentYGap, getAttachmentYOffset, getBlinkStruct, getBorderShape, getDefaultBorderInset, getElement, getLabelAttachment, getNetwork, getPaintBodyColor, getSeletableAttachementsArea, getStateOutlineColor, installAttachments, isBodyDark, isOutlineDark, mouseClicked, removeAttachment, setBodyPaint, setLabelAttachment, setStateOutline
public void paintStateOutline(java.awt.Graphics2D g2d)
NodeUI
paintStateOutline
in class NodeUI
public void paintBody(java.awt.Graphics2D g2d)
NodeUI
public java.awt.Rectangle getUIBounds()
BaseElementUI
getUIBounds
in interface ElementUI
getUIBounds
in class BaseElementUI
public boolean contains(int x, int y)
NodeUI
public void paintAttachments(java.awt.Graphics2D g2d)
AbstractElementUI
paintAttachments
in interface ElementUI
paintAttachments
in class AbstractElementUI
public void elementPropertyChange(java.beans.PropertyChangeEvent evt)
AbstractElementUI
elementPropertyChange
in interface ElementUI
elementPropertyChange
in class AbstractElementUI
evt
- property change eventpublic void paintBorder(java.awt.Graphics2D g2d)
AbstractElementUI
paintBorder
in class AbstractElementUI
Copyright © 2002 - 2010 Serva Software. All Rights Reserved.