public interface IltNetworkElementTypeCustomization extends IltTypeCustomization
IltNetworkElement.Type
using CSS.
The following example illustrates how a family can
be configured using CSS. The cascading style sheets are loaded
using the method IltSettings.setStyleSheets(String[])
.
setting."ilog.tgo.model.IltNetworkElement.Type"[name="NE"] { label: "NE1"; centerFunctionIcon: true; renderer: @+neRendererFactory1; } Subobject#neRendererFactory1 { class: 'ilog.tgo.graphic.renderer.IltNEDirectImageBaseRendererFactory'; }The same configuration can be achieved using the method
IltSettings.SetValue(Object, Object)
, as
illustrated below:
IltSettings.SetValue("NetworkElement.Type.NE.CenterFunctionIcon", Boolean.TRUE); IltSettings.SetValue("NetworkElement.Type.NE.Label", "NE1"); IltSettings.SetValue("NetworkElement.Type.NE.Renderer", myRendererFactory);
Modifier and Type | Method and Description |
---|---|
boolean |
getCenterFunctionIcon()
Tests if the function icon will be centered or not for this
specific network element type.
|
getRenderer
getLabel
boolean getCenterFunctionIcon()
CSS settings:
setting."ilog.tgo.model.IltNetworkElement.Type"[name="General"] { centerFunctionIcon: true; }
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.