17 package com.generalrobotix.ui.view.graph;
19 import java.util.StringTokenizer;
27 selection_ = selection;
34 StringTokenizer tokenizer =
new StringTokenizer(str,
",");
35 item_ =
new String[tokenizer.countTokens()];
36 for (
int i = 0; tokenizer.hasMoreTokens();
i ++) {
37 item_[
i] = tokenizer.nextToken();
48 return item_[selection_];
60 return item_[selection_];
63 for(
int i =0;
i < item_.length;
i ++) {
64 if (str.equals(item_[
i])) {
69 return item_[selection_];
97 return item_[selection_];
void setValue(String str)
#define null
our own NULL pointer
SEEnumeration(String[] s, int selection)
void setValue(Object value)
String [] getSelectionNames()
Object fromString(String str)
SEEnumeration(String str)