ilog.tgo.graphic.renderer
Class IltNEBaseRenderer

java.lang.Object
  extended by ilog.tgo.graphic.renderer.IltBaseRenderer
      extended by ilog.tgo.graphic.renderer.IltNEBaseRenderer
Direct Known Subclasses:
IltNEBaseRenderer.BSC, IltNEBaseRenderer.BTS, IltNEBaseRenderer.BTSEquipment, IltNEBaseRenderer.ControlComponent, IltNEBaseRenderer.EquipmentShape, IltNEBaseRenderer.Graphic, IltNEBaseRenderer.ManagementElement, IltNEBaseRenderer.MD, IltNEBaseRenderer.MSC, IltNEBaseRenderer.MuxShape, IltNEBaseRenderer.NE, IltNEBaseRenderer.NEComponent, IltNEBaseRenderer.NELogical, IltNEBaseRenderer.NetworkShape, IltNEBaseRenderer.NMW, IltNEBaseRenderer.Server, IltNEBaseRenderer.StationShape, IltNEBaseRenderer.SwitchShape, IltNEBaseRenderer.TransportShape, IltNEDirectImageBaseRendererFactory.BaseRenderer, IltNEImageBaseRendererFactory.BaseRenderer

public abstract class IltNEBaseRenderer
extends IltBaseRenderer

This class encapsulates the drawing functionality for the base of a network element.

Since:
JTGO 4.0
See Also:
IltNetworkElement

Nested Class Summary
static class IltNEBaseRenderer.BSC
          The base renderer for network elements of type IltNetworkElement.Type.BSC.
static class IltNEBaseRenderer.BTS
          The base renderer for network elements of type IltNetworkElement.Type.BTS.
static class IltNEBaseRenderer.BTSEquipment
          The base renderer for network elements of type IltNetworkElement.Type.BTSEquipment.
static class IltNEBaseRenderer.ControlCluster
          The base renderer for network elements of type IltNetworkElement.Type.ControlCluster.
static class IltNEBaseRenderer.ControlComponent
          The base renderer for network elements of type IltNetworkElement.Type.ControlComponent.
static class IltNEBaseRenderer.ControlElement
          The base renderer for network elements of type IltNetworkElement.Type.ControlElement.
static class IltNEBaseRenderer.EquipmentShape
          The base renderer for network elements of type IltNetworkElement.Type.EquipmentShape.
static class IltNEBaseRenderer.General
          The base renderer for network elements of type General.
static class IltNEBaseRenderer.Graphic
          The base renderer for network elements that are displayed using IlvGraphic objects.
static class IltNEBaseRenderer.ManagementCluster
          The base renderer for network elements of type IltNetworkElement.Type.ManagementCluster.
static class IltNEBaseRenderer.ManagementComponent
          The base renderer for network elements of type IltNetworkElement.Type.ManagementComponent.
static class IltNEBaseRenderer.ManagementElement
          The base renderer for network elements of type IltNetworkElement.Type.ManagementElement.
static class IltNEBaseRenderer.MD
          The base renderer for network elements of type IltNetworkElement.Type.MD.
static class IltNEBaseRenderer.MSC
          The base renderer for network elements of type IltNetworkElement.Type.MSC.
static class IltNEBaseRenderer.MuxShape
          The base renderer for network elements of type IltNetworkElement.Type.MuxShape.
static class IltNEBaseRenderer.NE
          The base renderer for network elements of type IltNetworkElement.Type.NE.
static class IltNEBaseRenderer.NECluster
          The base renderer for network element of type IltNetworkElement.Type.NECluster.
static class IltNEBaseRenderer.NEClusterLogical
          The base renderer for network element of type IltNetworkElement.Type.NECluster_Logical.
static class IltNEBaseRenderer.NEComponent
          The base renderer for network elements of type IltNetworkElement.Type.NEComponent.
static class IltNEBaseRenderer.NEComponentLogical
          The base renderer for network elements of type IltNetworkElement.Type.NEComponent_Logical.
static class IltNEBaseRenderer.NELogical
          The base renderer for network elements of type IltNetworkElement.Type.NE_Logical.
static class IltNEBaseRenderer.NetworkShape
          The base renderer for network elements of type IltNetworkElement.Type.NetworkShape.
static class IltNEBaseRenderer.NMW
          The base renderer for network elements of type IltNetworkElement.Type.NMW.
static class IltNEBaseRenderer.Server
          The base renderer for network elements of type IltNetworkElement.Type.Server.
static class IltNEBaseRenderer.StationShape
          The base renderer for network elements of type IltNetworkElement.Type.StationShape.
static class IltNEBaseRenderer.SwitchShape
          The base renderer for network elements of type IltNetworkElement.Type.SwitchShape.
static class IltNEBaseRenderer.TransportShape
          The base renderer for network elements of type IltNetworkElement.Type.TransportShape.
 
Field Summary
static IltNEBaseRenderer INVISIBLE_BASE_RENDERER
           
 
Constructor Summary
protected IltNEBaseRenderer()
          Used for normal base renderers
protected IltNEBaseRenderer(ilog.tgo.graphic.renderer.internal.IltBaseRendererState state)
          For compatibility purposes, internal use only !
 
Method Summary
protected  ilog.tgo.graphic.renderer.internal.IltBaseRendererState createBaseRendererState()
          Creates the instance that stores all the base renderer configuration.
abstract  Dimension getPreferredSize(boolean collapsed)
          Returns the preferred size of the base.
 boolean isCollapsed()
          Returns the collapsed property of this renderer.
protected  boolean isExtraBorderOutside()
          Indicates whether the extra borders should be drawn inside or outside the rect that is used to call drawExtraBorders.
 void setCollapsed(boolean v)
          Sets the collapsed property of this renderer.
 
Methods inherited from class ilog.tgo.graphic.renderer.IltBaseRenderer
__isDottedBorderVisible, attach, boundingBox, boundingBoxWithTransformer, contains, containsExtraBorders, containsMain, draw, drawAlarmBorder, drawExtraBorder, drawExtraBorder, drawExtraBorders, drawMain, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVISIBLE_BASE_RENDERER

public static final IltNEBaseRenderer INVISIBLE_BASE_RENDERER
Internal method or field: do not use!
Constructor Detail

IltNEBaseRenderer

protected IltNEBaseRenderer()
Used for normal base renderers


IltNEBaseRenderer

protected IltNEBaseRenderer(ilog.tgo.graphic.renderer.internal.IltBaseRendererState state)

For compatibility purposes, internal use only !

Internal method or field: do not use!
Method Detail

createBaseRendererState

protected ilog.tgo.graphic.renderer.internal.IltBaseRendererState createBaseRendererState()
Description copied from class: IltBaseRenderer
Creates the instance that stores all the base renderer configuration.

Overrides:
createBaseRendererState in class IltBaseRenderer
Internal method or field: do not use!

getPreferredSize

public abstract Dimension getPreferredSize(boolean collapsed)
Returns the preferred size of the base.

Parameters:
collapsed - Indicates that the network element is collapsed.

isExtraBorderOutside

protected boolean isExtraBorderOutside()
Indicates whether the extra borders should be drawn inside or outside the rect that is used to call drawExtraBorders.

This implementation returns true, as the borders of network elements should be drawn outside.

Specified by:
isExtraBorderOutside in class IltBaseRenderer

setCollapsed

public void setCollapsed(boolean v)
Sets the collapsed property of this renderer.

Parameters:
v - Collapsed property.

isCollapsed

public boolean isCollapsed()
Returns the collapsed property of this renderer.

Returns:
true if the object is in the collapsed representation.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.