public static class IltNEBaseRenderer.ControlComponent extends IltNEBaseRenderer
IltNetworkElement.Type.ControlComponent
.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 |
---|
ControlComponent() |
Modifier and Type | Method and Description |
---|---|
protected void |
drawExtraBorder(Graphics g,
IlvTransformer t,
IlvRect rect,
IltPalette palette,
int distance,
int width)
Draws an extra border inside or outside the base depending
on the value returned by
isExtraBorderOutside() . |
void |
drawMain(Graphics g,
IlvTransformer t,
IlvRect rect)
Draws the object.
|
Dimension |
getPreferredSize(boolean collapsed)
Returns the preferred size.
|
createBaseRendererState, isCollapsed, isExtraBorderOutside, setCollapsed
__isDottedBorderVisible, attach, boundingBox, boundingBoxWithTransformer, contains, containsExtraBorders, containsMain, draw, drawAlarmBorder, 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, isDottedBorderVisible, 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)
getPreferredSize
in class IltNEBaseRenderer
collapsed
- Indicates that the network element is collapsed.public void drawMain(Graphics g, IlvTransformer t, IlvRect rect)
drawMain
in class IltBaseRenderer
g
- As in draw
.t
- As in draw
.rect
- As in draw
.protected void drawExtraBorder(Graphics g, IlvTransformer t, IlvRect rect, IltPalette palette, int distance, int width)
isExtraBorderOutside()
.drawExtraBorder
in class IltBaseRenderer
g
- As in draw
t
- As in draw
rect
- As in draw
palette
- The palette with the border colorsdistance
- The distance from the main part (not including width)width
- The width of the borderIltBaseRenderer.getExtraBorders(ilog.views.IlvRect)
,
IltBaseRenderer.isExtraBorderOutside()
,
IltBaseRenderer.isDottedBorderVisible()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.