|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--java.awt.Component
|
+--GSC.SkandhaGUIComponent
The SkandhaGUIComponent is an abstract class that enables polymorphism for all skandha GUI components. Each skandha GUI component should extend this class.
| Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
| Field Summary | |
protected java.lang.String |
CGI_call
String to be used for skandha4 call when this control is clicked on. |
protected java.lang.String |
CGI_script_file
PERL Script File to be used for processing this control within an HTML form. |
protected int |
GUI_ID
relative index of this control in the SkandhaBox |
protected java.awt.Image |
GUI_image
The image (icon) that appears in the SkandhaBox for this control |
protected int[] |
GUI_location
The current visible location of this control in the SkandhaBox |
static int |
HIDE_BODY_PART_ID
|
static int |
HIGHLIGHT_BODY_PART_ID
|
static int |
LIST_ANATOMY_ID
|
static int |
MOVE_CAMERA_DOWN_ID
|
static int |
MOVE_CAMERA_LEFT_ID
|
static int |
MOVE_CAMERA_RIGHT_ID
|
static int |
MOVE_CAMERA_UP_ID
|
static int |
NEW_SCENE_ID
|
static int |
OPEN_SCENE_ID
|
static int |
REMOVE_BODY_PART_ID
|
static int |
RESET_CAMERA_ID
|
static int |
ROTATE_SCENE_CLOCKWISE_ID
|
static int |
ROTATE_SCENE_COUNTERCLOCKWISE_ID
|
static int |
ROTATE_SCENE_DOWN_ID
|
static int |
ROTATE_SCENE_LEFT_ID
|
static int |
ROTATE_SCENE_RIGHT_ID
|
static int |
ROTATE_SCENE_UP_ID
|
static int |
SAVE_SCENE_ID
|
protected byte |
security_level
The security level necessary to use this control in the SkandhaBox |
protected java.lang.String |
skandha_call
String to be used for skandha4 call from within the Java class. |
static int |
SKANDHA_OUTPUT_ID
|
static int |
ZOOM_CAMERA_IN_ID
|
static int |
ZOOM_CAMERA_OUT_ID
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
SkandhaGUIComponent()
The SkandhaGUIComponent public constructor |
|
| Method Summary | |
boolean |
handleMouseDownEvent()
Processes mouse down events for the control when control does more than a simple skandha call. |
boolean |
handleMouseDragEvent()
Processes mouse drag events for the control when control does more than a simple skandha call. |
boolean |
handleMouseUpEvent()
Processes mouse up events for the control when control does more than a simple skandha call. |
boolean |
updateGUILocation(int x,
int y,
int width,
int height)
Updates the visual image (icon) location within the skandha Box. |
boolean |
updateSkandhaOutput(Starter starter,
java.lang.String jpeg_name)
Updates the skandha Output area to present a new image. |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int SKANDHA_OUTPUT_ID
public static final int ROTATE_SCENE_CLOCKWISE_ID
public static final int ROTATE_SCENE_COUNTERCLOCKWISE_ID
public static final int ROTATE_SCENE_UP_ID
public static final int ROTATE_SCENE_DOWN_ID
public static final int OPEN_SCENE_ID
public static final int ROTATE_SCENE_RIGHT_ID
public static final int ROTATE_SCENE_LEFT_ID
public static final int NEW_SCENE_ID
public static final int SAVE_SCENE_ID
public static final int ZOOM_CAMERA_IN_ID
public static final int ZOOM_CAMERA_OUT_ID
public static final int MOVE_CAMERA_RIGHT_ID
public static final int MOVE_CAMERA_LEFT_ID
public static final int MOVE_CAMERA_UP_ID
public static final int MOVE_CAMERA_DOWN_ID
public static final int RESET_CAMERA_ID
public static final int LIST_ANATOMY_ID
public static final int HIDE_BODY_PART_ID
public static final int REMOVE_BODY_PART_ID
public static final int HIGHLIGHT_BODY_PART_ID
protected int GUI_ID
protected java.lang.String skandha_call
protected java.lang.String CGI_call
protected java.lang.String CGI_script_file
protected int[] GUI_location
protected java.awt.Image GUI_image
protected byte security_level
| Constructor Detail |
public SkandhaGUIComponent()
| Method Detail |
public boolean updateGUILocation(int x,
int y,
int width,
int height)
x - The number of pixels to the right from the upper-left corner of the skandha Box to the upper-left corner of the control.y - The number of pixels down from the upper-left corner of the skandha Box to the upper-left corner of the control.width - The width of the control image (icon) in number of pixels.height - The height of the control image (icon) in number of pixels.
public boolean updateSkandhaOutput(Starter starter,
java.lang.String jpeg_name)
starter - The applet on which the skandha Output area appears.jpeg_name - The name of the new image to be presented.public boolean handleMouseDownEvent()
public boolean handleMouseDragEvent()
public boolean handleMouseUpEvent()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||