IltNetworkElement.IsCollapsed
or
IltNetworkElement.ExpandOnNewAlarms
, you should replace these
calls by the following CSS extract, using attribute selectors:
object."ilog.tgo.model.IltNetworkElement" { collapsed: true; } object."ilog.tgo.model.IltNetworkElement"[newAlarmHighestSeverity] { collapsed: false; }You can then customize the decorations that should be attached to the collapsed representation, using for example,
alarmBalloonVisible
or alarmCountVisible
, by adding these properties to the
appropriate selector.@Deprecated public class IltCollapseStyleValueProvider extends IlpAbstractStyleValueProvider
IltNetworkElement.ExpandOnNewAlarms
and on whether the
object has new alarms or not.
This style value provider returns true
by default, or
false
if the value of
IltNetworkElement.ExpandOnNewAlarms
is true
and the
object has new alarms currently set.
IltNetworkElement.IsCollapsed
,
IltNetworkElement.ExpandOnNewAlarms
,
Serialized FormdependentStyles, styleListeners, supportNotification
Constructor and Description |
---|
IltCollapseStyleValueProvider()
Deprecated.
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getStringValue()
Deprecated.
Returns the value for the given style as a string.
|
Object |
getValue(IlpKey key,
IlpStyle style)
Deprecated.
Returns the value for the given style.
|
Class |
getValueType()
Deprecated.
Returns the Java class of the value the style value provider is expected to
return.
|
addDependentStyle, addStyleChangeListener, clone, fireStyleChangeEvent, fireStyleChangeEvent, hasDependentStyles, removeDependentStyle, removeStyleChangeListener, setSupportNotification, specificAddDependentStyle, specificRemoveDependentStyle, styleChanged
public IltCollapseStyleValueProvider()
public String getStringValue()
IlpStyleValueProvider
IlpStyleValueProvider
interface to provide
the data that should be stored when the style value provider is saved to
the persistent storage. Correspondingly, a string-based constructor for the
style value provider is needed to restore the value when reading it from
the stored styles.public Object getValue(IlpKey key, IlpStyle style)
IlpStyleValueProvider
key
- Style key whose value is being requested.style
- Style whose value is requested.IlpStyle.NotFound
if the value could not
be calculated by this provider.public Class getValueType()
IlpStyleValueProvider
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.