public static class IltNEBaseRenderer.TransportShape extends IltNEBaseRenderer
IltNetworkElement.Type.TransportShape
.IltNEBaseRenderer.BSC, IltNEBaseRenderer.BTS, IltNEBaseRenderer.BTSEquipment, IltNEBaseRenderer.ControlCluster, IltNEBaseRenderer.ControlComponent, IltNEBaseRenderer.ControlElement, IltNEBaseRenderer.EquipmentShape, IltNEBaseRenderer.General, IltNEBaseRenderer.Graphic, IltNEBaseRenderer.ManagementCluster, IltNEBaseRenderer.ManagementComponent, IltNEBaseRenderer.ManagementElement, IltNEBaseRenderer.MD, IltNEBaseRenderer.MSC, IltNEBaseRenderer.MuxShape, IltNEBaseRenderer.NE, IltNEBaseRenderer.NECluster, IltNEBaseRenderer.NEClusterLogical, IltNEBaseRenderer.NEComponent, IltNEBaseRenderer.NEComponentLogical, IltNEBaseRenderer.NELogical, IltNEBaseRenderer.NetworkShape, IltNEBaseRenderer.NMW, IltNEBaseRenderer.Server, IltNEBaseRenderer.StationShape, IltNEBaseRenderer.SwitchShape, IltNEBaseRenderer.TransportShape
INVISIBLE_BASE_RENDERER
Constructor and Description |
---|
TransportShape() |
Modifier and Type | Method and Description |
---|---|
void |
drawMain(Graphics g,
IlvTransformer t,
IlvRect rect)
Draws the main part of the base.
|
Dimension |
getPreferredSize(boolean collapsed)
Returns the preferred size of the base.
|
boolean |
isDottedBorderVisible()
Returns the visibility status of the dotted border.
|
createBaseRendererState, isCollapsed, isExtraBorderOutside, setCollapsed
__isDottedBorderVisible, attach, boundingBox, boundingBoxWithTransformer, contains, containsExtraBorders, containsMain, draw, drawAlarmBorder, drawExtraBorder, drawExtraBorder, drawExtraBorders, drawSelectionBorder, dropResources, getAlarmBorderColor, getAlarmBorderWidth, getAlarmColorLevel, getBackground, getBaseRenderer, getBaseRendererState, getBorderColor, getBorderColor2, getBorderLineStyle, getBorderPalette, getBorderPattern, getBorderWidth, getBrightPalette, getDarkPalette, getDeprecatedBlinkingMode, getDetailLevel, getDottedBorderBackground, getDottedBorderForeground, getDottedBorderLineStyle, getDottedBorderPalette, getExtraBorders, getFillAngle, getFillEnd, getFillStart, getFillStyle, getFillTexture, getForeground, getPalette, getPattern, getRepresentationObject, getSelectionBorderBackground, getSelectionBorderForeground, getSelectionBorderLineStyle, getSelectionBorderWidth, getSourceImage, getView, initBaseRenderer, initResources, isAlarmBorderVisible, isAlarmColorVisible, isBaseSelectionBorderVisible, isPolygonalBorder, isReliefBorders, isUsingBlinkingResources, setAlarmBorderColor, setAlarmBorderVisible, setAlarmBorderWidth, setAlarmColorLevel, setAlarmColorVisible, setBackground, setBaseRendererState, setBaseSelectionBorderVisible, setBorderColor, setBorderColor2, setBorderLineStyle, setBorderPattern, setBorderWidth, setDeprecatedBlinkingMode, setDetailLevel, setDottedBorderBackground, setDottedBorderForeground, setDottedBorderLineStyle, setDottedBorderVisible, setFillAngle, setFillEnd, setFillStart, setFillStyle, setFillTexture, setForeground, setPattern, setPolygonalBorder, setReliefBorders, setRepresentationObject, setSelectionBorderBackground, setSelectionBorderForeground, setSelectionBorderLineStyle, setSelectionBorderWidth, setSourceImage, setView
public Dimension getPreferredSize(boolean collapsed)
IltNEBaseRenderer
getPreferredSize
in class IltNEBaseRenderer
collapsed
- Indicates that the network element is collapsed.public void drawMain(Graphics g, IlvTransformer t, IlvRect rect)
IltBaseRenderer
drawMain
in class IltBaseRenderer
g
- As in draw
.t
- As in draw
.rect
- As in draw
.public boolean isDottedBorderVisible()
IltBaseRenderer
true
, a dotted border with a
thickness of 1
pixel is drawn around the base.
Note that the dotted border is only drawn when this method returns
true
, and when no alarm border is drawn (that is,
isAlarmBorderVisible()
returns false
).
Some subclasses override this method to force a dotted border to be displayed or hidden.
isDottedBorderVisible
in class IltBaseRenderer
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.