public class BTSAntennaUI extends BaseEquipmentUI
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 |
---|
BTSAntennaUI(TNetwork network,
BTSAntenna antenna) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int x,
int y)
Override this method to return a more accurate value.
|
BorderUI |
getBorder()
Obtains the UI border object.
|
java.awt.Shape |
getBorderShape() |
java.awt.Point |
getHotspot()
Get the hotspot location.
|
void |
paintBody(java.awt.Graphics2D g)
Paint this node body.
|
void |
paintStateOutline(java.awt.Graphics2D g2d)
Paint the element state outline.
|
getDrillDownChassis, getImageShape, getNode, isDrawImageShape, performAction, updateClientProperty
getBaseElement, getColor, 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, getDefaultBorderInset, getElement, getLabelAttachment, getNetwork, getPaintBodyColor, getSeletableAttachementsArea, getStateOutlineColor, installAttachments, isBodyDark, isOutlineDark, mouseClicked, paintAttachments, paintBorder, removeAttachment, setBodyPaint, setLabelAttachment, setStateOutline
public BTSAntennaUI(TNetwork network, BTSAntenna antenna)
public java.awt.Point getHotspot()
BaseElementUI
getHotspot
in interface ElementUI
getHotspot
in class BaseElementUI
public void paintBody(java.awt.Graphics2D g)
NodeUI
public void paintStateOutline(java.awt.Graphics2D g2d)
NodeUI
paintStateOutline
in class NodeUI
public boolean contains(int x, int y)
NodeUI
public BorderUI getBorder()
ResizableNodeUI
getBorder
in interface ElementUI
getBorder
in class ResizableNodeUI
public java.awt.Shape getBorderShape()
getBorderShape
in interface ElementUI
getBorderShape
in class AbstractElementUI
Copyright © 2002 - 2010 Serva Software. All Rights Reserved.