oracle.dss.dataView
Class TokenSubstitutionExtendedAdapter
java.lang.Object
oracle.dss.dataView.TokenSubstitutionAdapter
oracle.dss.dataView.TokenSubstitutionExtendedAdapter
- All Implemented Interfaces:
- TokenSubstitution, BaseTokenSubstitution
public class TokenSubstitutionExtendedAdapter
- extends TokenSubstitutionAdapter
This class supports replaceable text in a text component.
This class maintains a list of items that can be chosen from the
"Insert" drop-down list in the Title UI panel.
The items are localizable strings.
For example, "Dimension" is a list item.
For each list item, this class also maintains the following:
- A localizable token, such as "&Dimension", which is displayed in the
JTextField
that the end user can edit in the Title
panel
- An unlocalizable key, such as "dim", which is used when the text is
saved in XML
- Some way to get replacement text, such as "Product", for the list
item
Fields inherited from class oracle.dss.dataView.TokenSubstitutionAdapter |
ALL, date, DATE, DATE_KEY, dim_mem, DIM_MEM_KEY, dimension, DIMENSION, DIMENSION_KEY, DIMENSION_MEMBER, m_dataview, m_item, m_locale, m_variable, member, MEMBER, MEMBER_KEY, page, PAGE, PAGE_KEY, time, TIME, TIME_KEY |
Method Summary |
protected java.lang.String |
getParsedKey(java.lang.String subStr)
given a key return the parsed string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_viewprinter
protected ViewPrinter m_viewprinter
- For internal use only. Application developers should not use this
TokenSubstitutionExtendedAdapter
public TokenSubstitutionExtendedAdapter(ViewPrinter printer,
int item)
- Constructor.
- Parameters:
printer
- The ViewPrinter
for which this adapter provides
token substitution support.item
- the items that needs to be supported by this adapter
Constants are listed in the See Also section- See Also:
TokenSubstitutionAdapter.DIMENSION
,
TokenSubstitutionAdapter.MEMBER
,
TokenSubstitutionAdapter.DIMENSION_MEMBER
,
TokenSubstitutionAdapter.DATE
,
TokenSubstitutionAdapter.TIME
,
TokenSubstitutionAdapter.PAGE
,
TokenSubstitutionAdapter.ALL
getParsedKey
protected java.lang.String getParsedKey(java.lang.String subStr)
- Description copied from class:
TokenSubstitutionAdapter
- given a key return the parsed string
- Overrides:
getParsedKey
in class TokenSubstitutionAdapter
Copyright © 1997, 2011, Oracle. All rights reserved.