|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgermanet.Example
public class Example
An Example
consists of a text String
and an
optional Frame
.
Constructor Summary | |
---|---|
protected |
Example()
Constructs a new Example with empty text and no
Frame . |
protected |
Example(java.lang.String text)
Constructs a new Example with the specified text and no
Frame . |
Method Summary | |
---|---|
java.lang.String |
getFrame()
Return the Frame as String of this
Example . |
java.lang.String |
getText()
Return this Example 's text. |
protected void |
setFrame(Frame frame)
Set the specified Frame to this Example . |
protected void |
setText(java.lang.String text)
Replaces the text with the specified text. |
java.lang.String |
toString()
Return a String representation of this Example . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Example()
Example
with empty text and no
Frame
.
protected Example(java.lang.String text)
Example
with the specified text and no
Frame
.
text
- the text for this Example
Method Detail |
---|
protected void setText(java.lang.String text)
text
- the new textprotected void setFrame(Frame frame)
Frame
to this Example
.
frame
- the Frame
to set for this Example
public java.lang.String getText()
Example
's text.
Example
's text.public java.lang.String getFrame()
Frame
as String
of this
Example
.
Frame
as String
of this
Example
.public java.lang.String toString()
Example
.
toString
in class java.lang.Object
Example
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |