|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectcobaUI.ListSent
ListSent is a sentence wrapper. It consists of a reference to the underlying ISent sentence and its string representations in three view formats (default, cnf, dnf).
Field Summary | |
(package private) java.lang.String |
cnf
The cnf string representation of the underlying ISent. |
(package private) static int |
CNF
An int representing the cnf view format for sentences. |
(package private) java.lang.String |
def
The default string representation of the underlying ISent. |
(package private) static int |
DEFAULT
An int representing the default view format for sentences. |
(package private) java.lang.String |
dnf
The dnf string representation of the underlying ISent. |
(package private) static int |
DNF
An int representing the dnf view format for sentences. |
(package private) byte |
listNum
A byte indicating the index of the enclosing list. |
(package private) ISent |
s
A reference to the underlying ISent. |
Constructor Summary | |
(package private) |
ListSent(ISent inputS,
int index,
javax.swing.JPanel _parent)
Constructs a new ListSent for the enclosing list _parent . |
(package private) |
ListSent(ISent inputS,
java.lang.String defStr,
int index,
javax.swing.JPanel _parent)
Constructs a new ListSent for the enclosing list _parent . |
Method Summary | |
(package private) void |
setParentList(javax.swing.JPanel _parent)
Sets the enclosing list to _parent . |
java.lang.String |
toString()
Returns the string representation of the underlying ISent in the view format selected in enclosing list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final int DEFAULT
static final int CNF
static final int DNF
ISent s
java.lang.String def
java.lang.String cnf
java.lang.String dnf
byte listNum
Constructor Detail |
ListSent(ISent inputS, int index, javax.swing.JPanel _parent)
_parent
.
inputS
- a referece to the underlying ISent sentence.index
- an int indicating the index of the enclosing list _parent
._parent
- a reference to the enclosing list.ListSent(ISent inputS, java.lang.String defStr, int index, javax.swing.JPanel _parent)
_parent
.
inputS
- a referece to the underlying ISent sentence.defStr
- a reference to the default string representation of inputS
.index
- an int indicating the index of the enclosing list _parent
._parent
- a reference to the enclosing list.Method Detail |
void setParentList(javax.swing.JPanel _parent)
_parent
.
_parent
- a reference to the enclosing list.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |