| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TokenSubstitution
This interface is defined in context with the Insert tab in the UI panels.
 It defines methods that allow you to substitute text for a token in a 
 String.
 
To use this interface, you must create four strings for each token that will be replaced by text:
String that is displayed in the
             insert drop down list, such as "Date". Store all of these in an
             array. The UI will ask for the array.String, such as "&Date", that appears in
             the JTextField when a user has selected a
             ListItem.String that is actually stored in the unparsed
           String; this String must not be
           localized, because it needs to be same String in all
           languages. String that is displayed in the view
           itself, such as "24 March 2001".
 In addition, you must provide conversion between these strings, which are used as follows:
JTextField. JTextField.String from the JTextField,
     including the token, and asks you for a String that has
     the key instead of the token.String with the key, to ask you for the
     parsed String to display in the graph.
 When a graph is persisted, the String with key is stored in
 the XML, and this String is given to your implementation
 of this interface to restore the parsed String in the
 graph.
| Method Summary | 
|---|
| Methods inherited from interface oracle.dss.util.BaseTokenSubstitution | 
|---|
| getKey, getKeyString, getListItems, getParsedString, getToken, getTokenString, setLocale | 
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components 11g Release 1 (11.1.1.4.0) E12063-05 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||