public class ShapeImageUI extends ShapeNodeUI
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 |
---|
ShapeImageUI(TNetwork network,
ShapeImage shapeImage) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int x,
int y)
Override this method to return a more accurate value.
|
ShapeImage |
getShapeImage() |
protected void |
paintCustomDraw(java.awt.Graphics2D g2d) |
protected void |
paintShapeImage(java.awt.Graphics2D g2d) |
elementPropertyChange, getBorder, getShapeNode, getUIBounds, isShowDashLine, paint, paintArrows, updateClientProperty
getDrillDownChassis, getImageShape, getNode, isDrawImageShape, paintBody, paintStateOutline, performAction
getBaseElement, getColor, getHotspot, getShapeFactory, isBodyFill, isCustomDraw, isCustomDrawDefaultBorder, 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, paintAttachments, paintBorder, removeAttachment, setBodyPaint, setLabelAttachment, setStateOutline
public ShapeImageUI(TNetwork network, ShapeImage shapeImage)
public ShapeImage getShapeImage()
protected void paintCustomDraw(java.awt.Graphics2D g2d)
paintCustomDraw
in class ShapeNodeUI
protected void paintShapeImage(java.awt.Graphics2D g2d)
public boolean contains(int x, int y)
NodeUI
contains
in interface ElementUI
contains
in class ShapeNodeUI
x
- inty
- intCopyright © 2002 - 2010 Serva Software. All Rights Reserved.