|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjet.controls.JetProperty
jet.controls.JetVector
public class JetVector
String vector property, for saving/retriving a group of String.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
JetVector()
|
|
JetVector(JetObject parent,
java.lang.String name)
Constructor. |
|
| Method Summary | |
|---|---|
void |
add(java.lang.String s)
Add a string to the property. |
void |
clear()
Clear the property. |
boolean |
equal(JetProperty str)
|
java.util.Vector |
get()
Get the strings. |
void |
remove(java.lang.String s)
Remove a string from the property. |
void |
set(java.lang.String strings)
Set the property via a DELIM separated string. |
void |
set(java.util.Vector strings)
Set the property via a group of string. |
int[] |
toIntArray()
Parse each string to an integer, and return them. |
java.lang.String |
toString()
Merge strings to one string separated by DELIM. |
java.lang.String[] |
toStringArray()
Return the strings as a string array. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JetVector()
public JetVector(JetObject parent,
java.lang.String name)
parent - the owner of the property.name - the property name| Method Detail |
|---|
public void add(java.lang.String s)
public void remove(java.lang.String s)
public void clear()
public java.lang.String toString()
toString in class java.lang.Objectpublic void set(java.util.Vector strings)
public void set(java.lang.String strings)
set in class JetPropertystrings - the String valpublic java.util.Vector get()
public int[] toIntArray()
public java.lang.String[] toStringArray()
public boolean equal(JetProperty str)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||