java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--java.applet.Applet | +--com.mja.descartes.Descartes | +--Descartes
Method Summary | |
void |
about()
Displays the "about" or Copyright dialog box. |
void |
add3DGraph(java.lang.String s)
Adds a new 3D graphic object. |
void |
addAux(java.lang.String s)
Adds a new auxiliar object. |
void |
addControl(java.lang.String s)
Adds a new control object. |
void |
addGraph(java.lang.String s)
Adds a new graphic object. |
void |
addSpace(java.lang.String s)
Adds a new space object. |
void |
clear()
Cleans the screen form any traces left by graphs. |
void |
delete3DGraph(java.lang.String num)
Deletes the num-th 3D graphic object. |
void |
deleteAux(java.lang.String num)
Deletes the num-th auxiliar object. |
void |
deleteControl(java.lang.String num)
Deletes the num-th control object. |
void |
deleteGraph(java.lang.String num)
Deletes the num-th graphic object. |
void |
deleteSpace(java.lang.String num)
Deletes the num-th space object. |
void |
edit()
Opens the configuration editor window. |
java.lang.String |
get3DGraph(java.lang.String num)
Returns the num-th 3D graphic configuration String. |
java.lang.String |
getAnimation()
Returns the animation configuration String. |
java.lang.String |
getAux(java.lang.String num)
Returns the num-th auxiliar configuration String. |
java.lang.String |
getCode()
Returns the applet configuration i.e. the html code that defines the applet configuration. |
java.lang.String |
getControl(java.lang.String num)
Returns the num-th control configuration String. |
java.lang.String |
getGraph(java.lang.String num)
Returns the num-th graphic configuration String. |
java.lang.String |
getHTMLEncodedCode()
Returns the applet configuration i.e. the html code that defines the applet configuration using the standard HTML encoding of accents and "foreign" characters. |
java.lang.String |
getSpace(java.lang.String num)
Returns the num-th space configuration String. |
void |
initAnimation()
Initializes the animation. |
void |
original()
Recovers the original configuration, i.e. the one provided by the applet parameters. |
void |
refresh()
Refresheds the scene. |
void |
remove3DGraphs()
Removes all 3D graphic objects from the configuration. |
void |
removeAnimation()
Removes the animation. |
void |
removeAux()
Removes all auxiliar objects from the configuration. |
void |
removeControls()
Removes all numerical and graphics controls from the configuration. |
void |
removeGraphs()
Removes all graphic objects from the configuration. |
void |
removeSpaces()
Removes all spaces from the configuration. |
void |
replace3DGraph(java.lang.String num,
java.lang.String s)
Replaces the num-th 3D graphic object. |
void |
replaceAux(java.lang.String num,
java.lang.String s)
Replaces the num-th auxiliar object. |
void |
replaceControl(java.lang.String num,
java.lang.String s)
Replaces the num control object. |
void |
replaceGraph(java.lang.String num,
java.lang.String s)
Replaces the num-th graphic object. |
void |
replaceSpace(java.lang.String num,
java.lang.String s)
Replaces the num space object. |
void |
setAnimation(java.lang.String s)
Defines a new animation. |
void |
setButtons(java.lang.String s)
Sets the configuration of the buttons. |
void |
setSpace(java.lang.String s)
Sets the configuration of the Descartes space. |
void |
start()
Starts the applet. |
void |
stop()
Stops the applet. |
void |
toggleAnimation()
Continues or pauses animation. |
Method Detail |
public void start()
start
in class com.mja.descartes.Descartes
public void stop()
stop
in class com.mja.descartes.Descartes
public void about()
about
in class com.mja.descartes.Descartes
public void clear()
clear
in class com.mja.descartes.Descartes
public void refresh()
refresh
in class com.mja.descartes.Descartes
public void original()
public void toggleAnimation()
toggleAnimation
in class com.mja.descartes.Descartes
public void initAnimation()
initAnimation
in class com.mja.descartes.Descartes
public void edit()
edit
in class com.mja.descartes.Descartes
public void setButtons(java.lang.String s)
s
- Configuration String for the buttons.public void setSpace(java.lang.String s)
s
- Configuration String for the space.public void removeSpaces()
public void addSpace(java.lang.String s)
s
- Configuration String for the space object.public void replaceSpace(java.lang.String num, java.lang.String s)
num
- String representing the number of the space object.s
- Configuration String for the new space object.public java.lang.String getSpace(java.lang.String num)
num
- String representing the number of the space object.public void deleteSpace(java.lang.String num)
num
- String representing the number of the space object to be deleted.public void removeControls()
public void addControl(java.lang.String s)
s
- Configuration String for the control object.public void replaceControl(java.lang.String num, java.lang.String s)
num
- String represinting the number of the control object.s
- Configuration String for the new control object.public java.lang.String getControl(java.lang.String num)
num
- String represinting the number of the control object.public void deleteControl(java.lang.String num)
num
- String representing the number of the control object to be deleted.public void removeAux()
public void addAux(java.lang.String s)
s
- Configuration String for the auxiliar object.public void replaceAux(java.lang.String num, java.lang.String s)
num
- String represinting the number of the auxiliar object.s
- Configuration String for the new auxiliar object.public java.lang.String getAux(java.lang.String num)
num
- String represinting the number of the auxiliar object.public void deleteAux(java.lang.String num)
num
- String representing the number of the auxiliar object to be deleted.public void removeGraphs()
public void addGraph(java.lang.String s)
s
- Configuration String for the graphic object.public void replaceGraph(java.lang.String num, java.lang.String s)
num
- String representing the number of the graphic object.s
- Configuration String for the new graphic object.public java.lang.String getGraph(java.lang.String num)
num
- String representing the number of the graphic object.public void deleteGraph(java.lang.String num)
num
- String representing the number of the graphic object to be deleted.public void remove3DGraphs()
public void add3DGraph(java.lang.String s)
s
- Configuration String for the graphic object.public void replace3DGraph(java.lang.String num, java.lang.String s)
num
- String representing the number of the graphic object.s
- Configuration String for the new 3D graphic object.public java.lang.String get3DGraph(java.lang.String num)
num
- String representing the number of the 3D graphic object.public void delete3DGraph(java.lang.String num)
num
- String representing the number of the 3D graphic object to be deleted.public void removeAnimation()
public java.lang.String getAnimation()
public void setAnimation(java.lang.String s)
s
- Configuration String for the new animation.public java.lang.String getCode()
public java.lang.String getHTMLEncodedCode()