@Deprecated public class IltLegend extends IltAbstractLegend implements Cloneable, StyleListener
IlpStyle
,
Serialized FormcomputedDefaultStyles, computedDefaultStylesUnmodifiable, defaultStylesCache, definedDefaultStyles, definedDefaultStylesUnmodifiable, IN_COMPUTE_GRAPHIC, owner, styleContext, styleKeyListeners, styleListeners, styleSearchOrderCache, valueProviders
_StyleLock, appContext, literals, NotFound, searchStrategy
Constructor and Description |
---|
IltLegend()
Deprecated.
Please use
IlpStyle instead. |
IltLegend(IlpStyleContext styleContext)
Deprecated.
Creates a legend with the given context
|
IltLegend(IltLegend defaultLegend)
Deprecated.
Please use
IlpStyle instead. |
Modifier and Type | Method and Description |
---|---|
static IlpStyle |
AdaptStyle(IlpStyleManager styleMgr,
IlpStyleContext styleContext,
IlpStyle style)
Deprecated.
This method is just for compatibility with old JTGO.
|
Object |
clone()
Deprecated.
Please use
IlpStyle instead. |
void |
endChangingLegendValues()
Deprecated.
Please use
endChangingStyleValues instead. |
IltLegend |
getDefaultLegend()
Deprecated.
Please use
getAllDefaultStyles instead. |
Vector<IlpKey> |
getKnownValues()
Deprecated.
Please use
getKnownKeys instead. |
Object |
getLocalValue(IlpKey key)
Deprecated.
Please use
getLiteral instead. |
Object |
getLocalValue(IltKey k)
Deprecated.
Please use
getLiteral instead. |
Object |
getValue(IltKey k)
Deprecated.
Please use the
IlpKey version instead. |
boolean |
hasDefaultValue(IltKey k)
Deprecated.
Please use
IlpKey version instead. |
boolean |
hasLocalValue(IlpKey key)
Deprecated.
Please use
hasLiteral version instead. |
boolean |
hasLocalValue(IltKey k)
Deprecated.
Please use
hasLiteral version instead. |
boolean |
hasRemoteValue(IlpKey key)
Deprecated.
Please use
hasValueProvider instead. |
boolean |
hasRemoteValue(IltKey k)
Deprecated.
Please use
hasValueProvider instead. |
boolean |
hasValue(IltKey k)
Deprecated.
Please use
IlpKey version instead. |
IltLegend |
popDefaultLegend()
Deprecated.
Please use
removeDefaultStyle instead. |
boolean |
pushDefaultLegend(IltLegend newDefaultLegend)
Deprecated.
Please use
appendDefaultStyle or prependDefaultStyle instead. |
boolean |
resetToDefaultValue(IltKey k)
Deprecated.
Please use the
IlpKey version instead. |
boolean |
resetValue(IlpKey key)
Deprecated.
Please use
resetLiteral version instead. |
boolean |
resetValue(IltKey k)
Deprecated.
Please use
IlpKey version instead. |
boolean |
setDefaultLegend(IltLegend defaultLegend)
Deprecated.
Please use
setDefaultStyles instead. |
boolean |
setRemoteValue(IlpKey lKey,
IltLegend legend,
IlpKey rKey)
Deprecated.
Please use
setValueProvider version instead. |
boolean |
setRemoteValue(IlpKey lKey,
IltLegend legend,
IltKey remoteKey)
Deprecated.
|
boolean |
setRemoteValue(IltKey key,
IltLegend legend,
IlpKey rKey)
Deprecated.
|
boolean |
setRemoteValue(IltKey key,
IltLegend legend,
IltKey remoteKey)
Deprecated.
Please use
setValueProvider version instead. |
void |
setValue(IltKey k,
Object value)
Deprecated.
Please use the
IlpKey version instead. |
void |
startChangingLegendValues()
Deprecated.
Please use
startChangingStyleValues instead. |
boolean |
unUseAllValues(IltLegend legend)
Deprecated.
Please use
resetAllValues instead. |
coerceFastHashtable, convertTable, getBoolean, getBoolean, getColor, getColor, getEnum, getEnum, getEnumArray, getEnumArray, getFloat, getFloat, getFont, getFont, getImage, getImage, getInteger, getInteger, getLineStyle, getLineStyle, getLineStyle, getLineStyle, getPattern, getPattern, getPattern, getPattern, getPoint, getPoint, getString, getString, getStringArray, getStringArray, setBoolean, setColor, setEnum, setFloat, setFont, setImage, setInteger, setLineStyle, setLineStyle, setPattern, setPattern, setPoint, setPoint, setString, setValue
addStyleChangeListener, addStyleListener, addStyleListener, appendComputedDefaultStyle, appendDefaultStyle, cleanValueProviders, debug, doCleanValueProviders, doClone, doCopyAllContext, doCopyAllValues, doDispose, doEndChangingStyleValues, doFireStyleSearchOrderNotification, doGetComputedDefaultStyles, doGetDefaultStyles, doGetStyleListeners, doGetStyleSearchOrder, doHasDefaultValue, doHasStaticValue, doHasValue, doHasValueProvider, doMoveContents, doRemoveComputedDefaultStyle, doRemoveDefaultStyle, doResetValueProviders, doSetDefaultStyles, doSetValueProvider, doStartChangingStyleValues, doStyleValueChanged, endChangingStyleValues, fireStyleChangeEvent, fireStyleNotification, getAllDefaultStyles, getComputedDefaultStyles, getContext, getDefaultStyle, getDefaultStyles, getFlags, getKeys, getKnownKeys, getLocalValueOrNotFound, getOwner, getOwnKnownKeys, GetStyleFromContext, getStyleKeyListeners, getStyleListeners, getValue, getValue, getValueOrigin, getValueOrNotFound, getValueOrNotFound, getValueProvider, getValueProvider, getValueProviderOrNotFound, getValueProviders, hasDefaultValue, hasDependencies, hasDependentValue, hasValue, hasValue, hasValueProvider, hasValueProvider, isValueProviderValid, needStyleValue, prependComputedDefaultStyle, prependDefaultStyle, printDefaultStyle, registerStyleListener, registerStyleListener, removeComputedDefaultStyle, removeDefaultStyle, removeStyleChangeListener, removeStyleListener, resetAllValues, resetFlags, resetStyleSearchOrder, resetToDefaultValue, resetValueProvider, resetValues, setContext, setDefaultStyles, setFlags, setLiteral, setOwner, setValue, setValueProvider, startChangingStyleValues, styleChanged, styleValueChanged, useAllValues
addLiterals, cleanLiterals, convertFloatArray, convertIntegerArray, copyAllValues, dispose, doCleanLiterals, doHasLiteral, doResetLiteral, doResetLiterals, fireEndChangingStyleValues, fireStartChangingStyleValues, fireStyleValueChanged, getAppContext, getBoolean, getBoolean, getColor, getColor, getDomain, getDomain, getEnum, getEnum, getEnumArray, getEnumArray, getFloat, getFloat, getFloatArray, getFloatArray, getFloatArray, getFont, getFont, getFormat, getFormat, getImage, getImage, getInteger, getInteger, getIntegerArray, getIntegerArray, getIntegerArray, getInteractor, getInteractor, getLiteral, getLiteralOrNotFound, getLiterals, getPoint, getPoint, getRect, getRect, getRenderer, getRenderer, getSearchStrategy, getString, getString, getStringArray, getStringArray, getSwingConstant, getSwingConstant, getValue, getValueMap, getValueMap, hasLiteral, keys, moveContents, resetLiteral, resetLiterals, resetLiteralSilently, setAppContext, setBoolean, setColor, setDomain, setEnum, setEnumArray, setFloat, setFloatArray, setFloatArray, setFont, setFormat, setImage, setInteger, setIntegerArray, setIntegerArray, setInteractor, setLiterals, setLiteralSilently, setPoint, setRect, setRenderer, setSearchStrategy, setString, setStringArray, setSwingConstant, setValueMap, transientInit, verifyNeededStyleKeys
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endChangingStyleValues, startChangingStyleValues, styleValueChanged
@Deprecated public IltLegend()
IlpStyle
instead.@Deprecated public IltLegend(IltLegend defaultLegend)
IlpStyle
instead.defaultLegend
as its default legend.defaultLegend
- The legend defined as the default legend.public IltLegend(IlpStyleContext styleContext)
styleContext
- Style context describing the style@Deprecated public Object clone()
IlpStyle
instead.clone
in class IltAbstractLegend
@Deprecated public boolean pushDefaultLegend(IltLegend newDefaultLegend)
appendDefaultStyle
or prependDefaultStyle
instead.newDefaultLegend
between this legend and its default legend.
The object "this" then has newDefaultLegend
as the first priority
default legend.
If the operation fails, the method returns false
.
popDefaultLegend()
@Deprecated public IltLegend popDefaultLegend()
removeDefaultStyle
instead.pushDefaultLegend
.
It removes the current first priority default legend from the default list.
If the operation succeeds, the method returns the popped legend, otherwise it returns null
.
pushDefaultLegend(ilog.tgo.graphic.IltLegend)
@Deprecated public boolean unUseAllValues(IltLegend legend)
resetAllValues
instead.useAllValues
; it cancels the remote values
previously set by the call useAllValues
.IlpRemoteStyleValueProvider
@Deprecated public IltLegend getDefaultLegend()
getAllDefaultStyles
instead.setDefaultLegend(ilog.tgo.graphic.IltLegend)
@Deprecated public boolean setDefaultLegend(IltLegend defaultLegend)
setDefaultStyles
instead.defaultLegend
. The default legend is used when
the current legend has no local or remote value for a given key.
This method returns false
if the operation cannot be performed (for example, if some
required keys are lost after the operation).@Deprecated public boolean hasValue(IltKey k)
IlpKey
version instead.IltKey
has a value associated with this legend.@Deprecated public boolean hasLocalValue(IltKey k)
hasLiteral
version instead.true
if a local value is associated with the key.@Deprecated public Object getLocalValue(IltKey k)
getLiteral
instead.@Deprecated public boolean hasRemoteValue(IltKey k)
hasValueProvider
instead.true
if a remote value is associated with the key.@Deprecated public boolean hasDefaultValue(IltKey k)
IlpKey
version instead.true
if a default value is associated with the key.@Deprecated public Object getValue(IltKey k)
IlpKey
version instead.IltKey
in this legend.@Deprecated public void setValue(IltKey k, Object value)
IlpKey
version instead.@Deprecated public boolean setRemoteValue(IltKey key, IltLegend legend, IltKey remoteKey)
setValueProvider
version instead.true
, otherwise it returns false
.
If a local value is present, it is erased; thus, the remote value will
not be hidden.key
- The local key.legend
- The remote legend.remoteKey
- The key in the remote legend.@Deprecated public boolean resetToDefaultValue(IltKey k)
IlpKey
version instead.@Deprecated public boolean resetValue(IltKey k)
IlpKey
version instead.set...
functions on this legend.
If a remote value exists for this key, it will be the new value. Otherwise,
the inherited value will be used. If there is no inherited value and the value
is still required, nothing happens. Otherwise, the key is removed from the legend.true
if the operation succeeds, false
otherwise.@Deprecated public void startChangingLegendValues()
startChangingStyleValues
instead.endChangingLegendValues
, and can be nested.endChangingLegendValues()
@Deprecated public void endChangingLegendValues()
endChangingStyleValues
instead.startChangingLegendValues
, and can be nested.startChangingLegendValues()
@Deprecated public Vector<IlpKey> getKnownValues()
getKnownKeys
instead.@Deprecated public boolean hasLocalValue(IlpKey key)
hasLiteral
version instead.true
if a local value is associated with the key.@Deprecated public Object getLocalValue(IlpKey key)
getLiteral
instead.@Deprecated public boolean hasRemoteValue(IlpKey key)
hasValueProvider
instead.true
if a remote value is associated with the key.@Deprecated public boolean setRemoteValue(IlpKey lKey, IltLegend legend, IlpKey rKey)
setValueProvider
version instead.true
, otherwise it returns false
.
If a local value is present, it is erased; thus, the remote value will
not be hidden.lKey
- The local key.legend
- The remote legend.rKey
- The key in the remote legend.public boolean setRemoteValue(IltKey key, IltLegend legend, IlpKey rKey)
public boolean setRemoteValue(IlpKey lKey, IltLegend legend, IltKey remoteKey)
@Deprecated public boolean resetValue(IlpKey key)
resetLiteral
version instead.set...
functions on this legend.
If a remote value exists for this key, it will be the new value. Otherwise,
the inherited value will be used. If there is no inherited value and the value
is still required, nothing happens. Otherwise, the key is removed from the legend.true
if the operation succeeds, false
otherwise.public static IlpStyle AdaptStyle(IlpStyleManager styleMgr, IlpStyleContext styleContext, IlpStyle style)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.