|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--java.applet.Applet | +--Cannibal
The invoking class for the Cannibal Applet
The following are PARAM tags - and their default values:
Field Summary | |
static java.awt.Checkbox |
dfToggle
Checkbox to toggle dynamic friction effects on/off |
static java.awt.Checkbox |
diskToggle
Checkbox to toggle disk effect on/off |
static Panel3D |
galPanel3D
The Panel3D for viewing the entire system in 3d |
static GalRunner |
galRunner
The tracking thread for the satellite and stars |
static GraphCanvas |
graph
The GraphCanvas to plot out radius and mass percentage |
static int |
HEIGHT
The height of the applet |
static Variable |
inclInput
Input variable for inclination radius |
static java.awt.Panel |
inputPanel
The panel to contain the input controls |
static java.awt.Checkbox |
mlToggle
Checkbox to toggle mass loss effects on/off |
static int |
nstars
The number of stars to be tracked |
static java.awt.Choice |
nstarsChoice
Choice menu for number of stars to be tracked |
static java.awt.Button |
pauseButton
Button to pause the simulation |
static boolean |
PAUSEFLAG
When true, the simulation will pause and wait for PAUSEFLAG to be true again |
static Variable |
rapoInput
Input variable for apogee radius |
static Variable |
rperiInput
Input variable for perigee radius |
static java.awt.Choice |
satmassChoice
Choice menu for sat mass |
static Panel3D |
satPanel3D
The Panel3D for viewing the satellite up close and in 2D |
static Variable |
satradInput
Input variable for satellite radius |
static double[][] |
stars
Array to hold all of the stars |
static double[][] |
starsC
Array to hold all of the stars centered about the satellite to avoid synchronization issues. |
static java.awt.Button |
startButton
Button to start the simulation |
static java.awt.Button |
stopButton
Button to stop the simulation |
static boolean |
STOPFLAG
When true, the simulation stops |
static InputSlider |
timeStepSlider
Input slider for integration (RK4) timestep |
static double[] |
w
Array for the state vector of the satellite |
static int |
WIDTH
The width of the applet |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
Cannibal()
|
Method Summary | |
void |
itemStateChanged(java.awt.event.ItemEvent e)
Used to enable and disable the timestep slider for cases of nstars=0 or !=0 May cause issues with some browsers. |
void |
setupInputPanel()
Setup the layout of the input panel |
void |
start()
Called by browser when applet is loaded into webpage |
Methods inherited from class java.applet.Applet |
destroy,
getAppletContext,
getAppletInfo,
getAudioClip,
getAudioClip,
getCodeBase,
getDocumentBase,
getImage,
getImage,
getLocale,
getParameter,
getParameterInfo,
init,
isActive,
newAudioClip,
play,
play,
resize,
resize,
setStub,
showStatus,
stop |
Methods inherited from class java.awt.Panel |
addNotify |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getPreferredSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
paramString,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setCursor,
setFont,
setLayout,
update,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputContext,
getInputMethodRequests,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getSize,
getToolkit,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
postEvent,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processFocusEvent,
processInputMethodEvent,
processKeyEvent,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static java.awt.Panel inputPanel
public static GraphCanvas graph
public static Panel3D galPanel3D
public static Panel3D satPanel3D
public static int WIDTH
public static int HEIGHT
public static double[][] stars
public static double[][] starsC
public static double[] w
public static int nstars
public static boolean STOPFLAG
public static boolean PAUSEFLAG
public static GalRunner galRunner
public static Variable rapoInput
public static Variable rperiInput
public static Variable inclInput
public static java.awt.Choice satmassChoice
public static Variable satradInput
public static InputSlider timeStepSlider
public static java.awt.Choice nstarsChoice
public static java.awt.Button startButton
public static java.awt.Button stopButton
public static java.awt.Button pauseButton
public static java.awt.Checkbox diskToggle
public static java.awt.Checkbox mlToggle
public static java.awt.Checkbox dfToggle
Constructor Detail |
public Cannibal()
Method Detail |
public void start()
public void setupInputPanel()
public void itemStateChanged(java.awt.event.ItemEvent e)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |