|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
ImagePanel
public class ImagePanel
Used the panel where annotations to the jpg image file are stored.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
protected AllData |
allData
Used to store modifications so far without writing them to disk. |
static int |
BODY_SEL_BOX
|
static int |
BODY_SEL_GAZE
|
static int |
BODY_SEL_HEAD
|
static int |
BODY_SEL_LEFT_FOOT
|
static int |
BODY_SEL_LEFT_HAND
|
static int |
BODY_SEL_LEFT_SHOULDER
|
static int |
BODY_SEL_RIGHT_FOOT
|
static int |
BODY_SEL_RIGHT_HAND
|
static int |
BODY_SEL_RIGHT_SHOULDER
|
protected boolean |
hundreds
flag for whether the number of images is in the hundreds or thousands, for use by load and save file operations. |
protected int |
id
current id of the frame being edited. |
protected int |
max
Flag to indicate the current maximum frame that has been edited. |
protected int |
previd
current id of the frame being edited. |
protected int |
prevselected
current id of the frame being edited. |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
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 | |
---|---|
ImagePanel(CAVIARGUI caviargui)
Calls public method loadInitialImage to create the new ImagePanel object. |
|
ImagePanel(java.lang.String seq,
CAVIARGUI caviargui)
Calls public method loadInitialImage to create the new ImagePanel object. |
Method Summary | |
---|---|
static double |
atan2(double y,
double x)
|
boolean |
bodyPartSelectedisDraw()
|
boolean |
bodySingleBoxisEmpty()
|
boolean |
checkGroupBoxes()
Method to check to see whether the group boxes are still valid, called before saving and moving between frames so that an invalid, ie some singe boxes not contained within the group box, never happens |
void |
copyBodyNext()
|
void |
copyBoxNext()
Copies the currently selected box into the next data structure |
void |
copyToNext()
Copys the data from the current frame into the next frame and loads the next frame. |
void |
copyToPrev()
Loads the previous frame, copying all the data stored in the current frame to the previous one. |
void |
copyTruthsNext()
Copies the currently selected box's attributes into the next data structure |
void |
deleteGroBox(int selected)
Deletes the GroupBox object at index selected. |
void |
deleteIndBox(int selected)
Deletes the SingleBox object at index selected . |
void |
drawBody(boolean dragMouse)
|
Circle |
drawCircle()
|
java.awt.geom.Line2D.Float |
drawLine()
|
void |
drawRect()
Redraws the rectangle, called when some changed has been made to the datastructure. |
Circle |
FitCircleInBox(Circle circle,
java.awt.Rectangle box)
|
int |
getbodyPartSelected()
|
boolean |
getbodyPartSelectedState()
|
java.awt.Rectangle |
getBoxforCurrentSelection()
|
boolean |
getGBActive(int selected)
Returns the active attribute of the GroupBox object at index selected. |
boolean |
getGBAppear(int selected)
Returns the appear attribute of the GroupBox object at index selected. |
int |
getGBAxis(int selected)
Returns the GroupBox object at index selected axis attribute. |
boolean |
getGBbrowserRole(int selected)
Returns the browser role attribute of the GroupBox object at index selected. |
boolean |
getGBbrowsingSit(int selected)
Returns the browsing sit attribute of the GroupBox object at index selected. |
boolean |
getGBDisappear(int selected)
Returns the disappear attribute of the GroupBox object at index selected. |
boolean |
getGBFight(int selected)
Returns the fight attribute of the GroupBox object at index selected. |
boolean |
getGBFightEnd(int selected)
Returns the fight end attribute of the GroupBox object at index selected. |
boolean |
getGBFighting(int selected)
Returns the fighting attribute of the GroupBox object at index selected. |
boolean |
getGBFightStart(int selected)
Returns the fight start attribute of the GroupBox object at index selected. |
boolean |
getGBFightVictimLeft(int selected)
Returns the victim left attribute of the GroupBox object at index selected. |
boolean |
getGBGrFighting(int selected)
Returns the group fighting attribute of the GroupBox object at index selected. |
boolean |
getGBGrInactive(int selected)
Returns the group inactive attribute of the GroupBox object at index selected. |
boolean |
getGBGrInteracting(int selected)
Returns the group interacting attribute of the GroupBox object at index selected. |
boolean |
getGBGrMeeting(int selected)
Returns the group meeting attribute of the GroupBox object at index selected. |
boolean |
getGBGrMoving(int selected)
Returns the group moving attribute of the GroupBox object at index selected. |
boolean |
getGBGrSplitting(int selected)
Returns the group splitting attribute of the GroupBox object at index selected. |
boolean[] |
getGBIBoxes(int selected)
Gets the boolean array representing the individual boxes contained within the GroupBox object |
boolean |
getGBInActive(int selected)
Returns the inactive attribute of the GroupBox object at index selected. |
boolean |
getGBLeaving(int selected)
Returns the leaving attribute of the GroupBox object at index selected. |
boolean |
getGBLeftBehind(int selected)
Returns the left behind attribute of the GroupBox object at index selected. |
boolean |
getGBLeftObject(int selected)
Returns the left behind attribute of the GroupBox object at index selected. |
boolean |
getGBMeet(int selected)
Returns the meet attribute of the GroupBox object at index selected. |
boolean |
getGBMeeting(int selected)
Returns the meeting attribute of the GroupBox object at index selected. |
boolean |
getGBMove(int selected)
Returns the move attribute of the GroupBox object at index selected. |
boolean |
getGBNoneMov(int selected)
|
boolean |
getGBNoneRol(int selected)
|
boolean |
getGBNoneSce(int selected)
|
boolean |
getGBNoneSit(int selected)
|
boolean |
getGBshopenterSce(int selected)
Returns the shop enter scenario attribute of the GroupBox object at index selected. |
boolean |
getGBshopenterSit(int selected)
Returns the shop enter attribute of the GroupBox object at index selected. |
boolean |
getGBshopexitSce(int selected)
Returns the shop exit scenario attribute of the GroupBox object at index selected. |
boolean |
getGBshopexitSit(int selected)
Returns the shop exit situation attribute of the GroupBox object at index selected. |
boolean |
getGBshopreenterSce(int selected)
Returns the shop reenter scenario attribute of the GroupBox object at index selected. |
boolean |
getGBWalk(int selected)
Returns the walk attribute of the GroupBox object at index selected. |
boolean |
getGBwalkingSce(int selected)
Returns the walking scenario attribute of the GroupBox object at index selected. |
boolean |
getGBwindowshopSce(int selected)
Returns the window shop scenario attribute of the GroupBox object at index selected. |
java.awt.Rectangle |
getGroupBox(int selected)
Gets the rectangle object representing the box for SingleBox number selected |
boolean |
getIBActive(int selected)
Returns the active attribute of the SingleBox object at index selected. |
boolean |
getIBAppear(int selected)
Returns the appear attribute of the SingleBox object at index selected. |
int |
getIBAxis(int selected)
Returns the SingleBox object at index selected axis attribute. |
boolean |
getIBBrowser(int selected)
Returns the browser attribute of the SingleBox object at index selected. |
boolean |
getIBBrowsing(int selected)
Returns the browsing attribute of the SingleBox object at index selected. |
boolean |
getIBBrowsingSit(int selected)
Returns the browsing sit attribute of the SingleBox object at index selected. |
boolean |
getIBDisappear(int selected)
Returns the disappear attribute of the SingleBox object at index selected. |
boolean |
getIBDropDown(int selected)
Returns the drop down attribute of the SingleBox object at index selected. |
boolean |
getIBFighter(int selected)
Returns the fighter attribute of the SingleBox object at index selected. |
boolean |
getIBImmobile(int selected)
Returns the immobile attribute of the SingleBox object at index selected. |
boolean |
getIBInActive(int selected)
Returns the inactive attribute of the SingleBox object at index selected. |
boolean |
getIBInactiveSit(int selected)
Returns the inactive sit attribute of the SingleBox object at index selected. |
boolean |
getIBLeavingGroup(int selected)
Returns the leaving group attribute of the SingleBox object at index selected. |
boolean |
getIBLeftBehind(int selected)
Returns the left behind attribute of the SingleBox object at index selected. |
boolean |
getIBLeftObject(int selected)
Returns the left object attribute of the SingleBox object at index selected. |
boolean |
getIBMovingSit(int selected)
Returns the moving sit attribute of the SingleBox object at index selected. |
boolean |
getIBNoneMov(int selected)
|
boolean |
getIBNoneRol(int selected)
|
boolean |
getIBNoneSce(int selected)
|
boolean |
getIBNoneSit(int selected)
|
boolean |
getIBOccluded(int selected)
|
boolean |
getIBPersonImmobile(int selected)
Returns the person immobile attribute of the SingleBox object at index selected. |
boolean |
getIBRun(int selected)
Returns the run attribute of the SingleBox object at index selected. |
boolean |
getIBshopenterSce(int selected)
Returns the shop enter scenario attribute of the SingleBox object at index selected. |
boolean |
getIBshopenterSit(int selected)
Returns the shop enter sit attribute of the SingleBox object at index selected. |
boolean |
getIBshopexitSce(int selected)
Returns the shop exit scenario attribute of the SingleBox object at index selected. |
boolean |
getIBshopexitSit(int selected)
Returns the shop exit sit attribute of the SingleBox object at index selected. |
boolean |
getIBshopreenterSce(int selected)
Returns the shop reenter scenario attribute of the SingleBox object at index selected. |
boolean |
getIBWalk(int selected)
Returns the walk attribute of the SingleBox object at index selected |
boolean |
getIBWalker(int selected)
Returns the walker attribute of the SingleBox object at index selected. |
boolean |
getIBWalking(int selected)
Returns the walking attribute of the SingleBox object at index selected. |
boolean |
getIBwindowshopSce(int selected)
Returns the window shop scenario attribute of the SingleBox object at index selected. |
int |
getSelected()
Method used so that CAVIARGUI can find out which box has been selected without needing the knowledge of which frame has been loaded. |
java.awt.Rectangle |
getSingleBox(int selected)
Gets the rectangle object representing the box for SingleBox number selected |
SingleBox |
getSingleBoxSelected()
Returns the current selected single box, if it has been draw |
void |
groupBoxUpdateDisplay(int index)
Used to update display so that currently selected box is in red. |
boolean |
isASingleBoxSelected()
|
boolean |
isEmptyGroBox(int selected)
Checks if the GroupBox object at index selected is empty. |
boolean |
isEmptySingleBox(int selected)
Checks if the SingleBox object at index selected is empty. |
void |
jumpToFrame(int frameNo)
Jumps to the frame frameNo in the current sequence, an exception occrus if the frame does not exist. |
void |
Key1ActionPerformed(java.awt.event.ActionEvent evt)
|
void |
Key2ActionPerformed(java.awt.event.ActionEvent evt)
|
void |
Key3ActionPerformed(java.awt.event.ActionEvent evt)
|
void |
Key4ActionPerformed(java.awt.event.ActionEvent evt)
|
void |
Key5ActionPerformed(java.awt.event.ActionEvent evt)
|
void |
Key6ActionPerformed(java.awt.event.ActionEvent evt)
|
void |
Key7ActionPerformed(java.awt.event.ActionEvent evt)
|
void |
Key8ActionPerformed(java.awt.event.ActionEvent evt)
|
void |
Key9ActionPerformed(java.awt.event.ActionEvent evt)
|
void |
KeyAActionPerformed(java.awt.event.ActionEvent evt,
int inc)
|
void |
KeyCActionPerformed(java.awt.event.ActionEvent evt)
|
void |
KeyDActionPerformed(java.awt.event.ActionEvent evt)
|
void |
KeyEActionPerformed(java.awt.event.ActionEvent evt)
|
void |
KeySActionPerformed(java.awt.event.ActionEvent evt,
int inc)
|
boolean |
KeyXActionPerformed(java.awt.event.ActionEvent evt)
|
int |
KeyZActionPerformed(java.awt.event.ActionEvent evt)
|
boolean |
loadFile(java.lang.String fileName)
Loads xml file fileName and resets all the datastructures to represent the data in this file. |
void |
loadFile(java.lang.String seqName,
java.lang.String fileName)
|
void |
loadInitialImage()
Used by the constructor to set all variables to their default values. |
boolean |
loadNewSeq(java.lang.String tempSeqName,
boolean hundredsFlag)
Loads a new JPG sequence (seqName) stored in directory jpgs, and resets all of the data currently stored. |
void |
loadNext()
Loads the next frame with the currently stored data which may be blank. |
void |
loadPrev()
Loads the previous frame, will load the currently stored data unless none is stored already. |
void |
play()
Simple method that contunually calls loadNext to give and illusion of there being playback of the video. |
void |
printFrame(int frame)
|
void |
printFrames()
|
void |
refreshScreen()
|
void |
resetAll()
Resets all the data in the current sequence. |
void |
resetFrame()
Resets all the highlighted data in the current frame. |
boolean |
saveAsFile(java.lang.String xmlFileName)
Saves the data already annotated to a new text file called fileName. |
void |
setBodyPartState(boolean occluded)
|
void |
setBoxNames()
|
void |
setDelta(int delta)
|
boolean |
setGBActive(int selected)
Toggles the active truth value of the GroupBox object at index selected, updates other parameters appropriately. |
boolean |
setGBAppear(int selected)
Toggles the appear truth value of the GroupBox object at index selected, updates disappear appropriately. |
void |
setGBAxis(int selected,
int update)
Sets the GroupBox object at index selected axis attribute to update. |
boolean |
setGBbrowserRole(int selected)
Toggles the browser role truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBbrowsingSit(int selected)
Toggles the browsing sit truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBDisappear(int selected)
Toggles the disappear truth value of the GroupBox object at index selected, updates appear appropriately. |
boolean |
setGBFight(int selected)
Toggles the fight truth value of the GroupBox object at index selected, updates meet appropriately. |
boolean |
setGBFightEnd(int selected)
Toggles the fight end truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBFighting(int selected)
Toggles the fighting truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBFightStart(int selected)
Toggles the fight start truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBFightVictimLeft(int selected)
Toggles the victim left truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBGrFighting(int selected)
Toggles the group fighting truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBGrInactive(int selected)
Toggles the group inactive truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBGrInteracting(int selected)
Toggles the group interacting truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBGrMeeting(int selected)
Toggles the group meeting truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBGrMoving(int selected)
Toggles the group moving truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBGrSplitting(int selected)
Toggles the group splitting truth value of the GroupBox object at index selected, updates fight appropriately. |
void |
setGBIBoxes(int selected,
java.lang.String[] inputString)
Sets the currently selected GroupBox object to have the selected items represented by the string inputString. |
boolean |
setGBInActive(int selected)
Toggles the inactive truth value of the GroupBox object at index selected, updates other parameters appropriately. |
boolean |
setGBLeaving(int selected)
Toggles the leaving truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBLeftBehind(int selected)
Toggles the left behind truth value of the GroupBox object at index selected. |
boolean |
setGBLeftObject(int selected)
Toggles the left behind truth value of the GroupBox object at index selected. |
boolean |
setGBMeet(int selected)
Toggles the meet truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBMeeting(int selected)
Toggles the meeting truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBMove(int selected)
Toggles the move truth value of the GroupBox object at index selected, updates other parameters appropriately. |
boolean |
setGBNoneMov(int selected)
|
boolean |
setGBNoneRol(int selected)
|
boolean |
setGBNoneSce(int selected)
|
boolean |
setGBNoneSit(int selected)
|
boolean |
setGBshopenterSce(int selected)
Toggles the shop enter scenario truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBshopenterSit(int selected)
Toggles the shop enter truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBshopexitSce(int selected)
Toggles the shop exit scenario truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBshopexitSit(int selected)
Toggles the shop exit situation truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBshopreenterSce(int selected)
Toggles the shop reenter scenario truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBWalk(int selected)
Toggles the walk truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBwalkingSce(int selected)
Toggles the walking scenario truth value of the GroupBox object at index selected, updates fight appropriately. |
boolean |
setGBwindowshopSce(int selected)
Toggles the window shop scenario truth value of the GroupBox object at index selected, updates fight appropriately. |
void |
setGroupSelected(int index)
Method for selecting a group box from the control panel. |
boolean |
setIBActive(int selected)
Toggles the active truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBAppear(int selected)
Toggles the appear truth value of the SingleBox object at index selected, updates disappear and occluded appropriately. |
void |
setIBAxis(int selected,
int update)
Sets the SingleBox object at index selected axis attribute to update. |
boolean |
setIBBrowser(int selected)
Toggles the browser truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBBrowsing(int selected)
Toggles the browsing truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBBrowsingSit(int selected)
Toggles the browsing sit truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBDisappear(int selected)
Toggles the disappear truth value of the SingleBox object at index selected, updates appear and occluded appropriately. |
boolean |
setIBDropDown(int selected)
Toggles the drop down truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBFighter(int selected)
Toggles the fighter truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBImmobile(int selected)
Toggles the immobile truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBInActive(int selected)
Toggles the inactive truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBInactiveSit(int selected)
Toggles the inactive sit truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBLeavingGroup(int selected)
Toggles the leaving group truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBLeftBehind(int selected)
Toggles the left behind truth value of the SingleBox object at index selected. |
boolean |
setIBLeftObject(int selected)
Toggles the left object truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBMovingSit(int selected)
Toggles the moving sit truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBNoneMov(int selected)
|
boolean |
setIBNoneRol(int selected)
|
boolean |
setIBNoneSce(int selected)
|
boolean |
setIBNoneSit(int selected)
|
boolean |
setIBOccluded(int selected)
Toggles the occluded truth value of the SingleBox object at index selected, updates disappear and appear appropriately. |
boolean |
setIBPersonImmobile(int selected)
Toggles the person immobile truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBRun(int selected)
Toggles the run truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBshopenterSce(int selected)
Toggles the shop enter scenario truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBshopenterSit(int selected)
Toggles the shop enter sit truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBshopexitSce(int selected)
Toggles the shop exit scenario truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBshopexitSit(int selected)
Toggles the shop exit sit truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBshopreenterSce(int selected)
Toggles the shop reenter scenario truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBWalk(int selected)
Toggles the walk truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBWalker(int selected)
Toggles the walker truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBWalking(int selected)
Toggles the walking truth value of the SingleBox object at index selected, updates other parameters appropriately. |
boolean |
setIBwindowshopSce(int selected)
Toggles the window shop scenario truth value of the SingleBox object at index selected, updates other parameters appropriately. |
void |
setPerformCheck()
|
void |
setProperty(boolean ind,
java.lang.String Property,
java.lang.String Value,
int id,
int from,
int to)
|
void |
setShowAllBodyBoxes()
|
void |
setShowAllBodyTags()
|
void |
setShowCurrentSelectionTags()
|
void |
setSingleSelected(int index)
Method for selecting a single box from the control panel. |
boolean |
singleBoxinGroupBox(int selected)
|
void |
singleBoxUpdateDisplay(int index)
Used to update display so that currently selected box is in red. |
void |
switchBodyPart(int i,
SingleBox single)
|
void |
updateBodyPartSelected(int BodyPart,
SingleBox singlebox)
|
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected AllData allData
protected int id
protected int previd
protected int prevselected
protected int max
protected boolean hundreds
public static final int BODY_SEL_BOX
public static final int BODY_SEL_HEAD
public static final int BODY_SEL_GAZE
public static final int BODY_SEL_RIGHT_SHOULDER
public static final int BODY_SEL_LEFT_SHOULDER
public static final int BODY_SEL_RIGHT_HAND
public static final int BODY_SEL_LEFT_HAND
public static final int BODY_SEL_RIGHT_FOOT
public static final int BODY_SEL_LEFT_FOOT
Constructor Detail |
---|
public ImagePanel(java.lang.String seq, CAVIARGUI caviargui)
public ImagePanel(CAVIARGUI caviargui)
Method Detail |
---|
public int getbodyPartSelected()
public void setDelta(int delta)
public boolean getbodyPartSelectedState()
public boolean bodyPartSelectedisDraw()
public void setBodyPartState(boolean occluded)
public void refreshScreen()
public void updateBodyPartSelected(int BodyPart, SingleBox singlebox)
public boolean bodySingleBoxisEmpty()
public void loadInitialImage()
public void Key1ActionPerformed(java.awt.event.ActionEvent evt)
public void switchBodyPart(int i, SingleBox single)
public void Key2ActionPerformed(java.awt.event.ActionEvent evt)
public void Key3ActionPerformed(java.awt.event.ActionEvent evt)
public void Key4ActionPerformed(java.awt.event.ActionEvent evt)
public void Key5ActionPerformed(java.awt.event.ActionEvent evt)
public void Key6ActionPerformed(java.awt.event.ActionEvent evt)
public void Key7ActionPerformed(java.awt.event.ActionEvent evt)
public void Key8ActionPerformed(java.awt.event.ActionEvent evt)
public void Key9ActionPerformed(java.awt.event.ActionEvent evt)
public void KeyDActionPerformed(java.awt.event.ActionEvent evt)
public void KeyEActionPerformed(java.awt.event.ActionEvent evt)
public int KeyZActionPerformed(java.awt.event.ActionEvent evt)
public void KeyAActionPerformed(java.awt.event.ActionEvent evt, int inc)
public void KeySActionPerformed(java.awt.event.ActionEvent evt, int inc)
public boolean KeyXActionPerformed(java.awt.event.ActionEvent evt)
public void KeyCActionPerformed(java.awt.event.ActionEvent evt)
public void setShowCurrentSelectionTags()
public void setShowAllBodyBoxes()
public void setShowAllBodyTags()
public void setBoxNames()
public int getSelected()
public void singleBoxUpdateDisplay(int index)
public void groupBoxUpdateDisplay(int index)
public void deleteIndBox(int selected)
public java.awt.Rectangle getSingleBox(int selected)
public void setIBAxis(int selected, int update)
public int getIBAxis(int selected)
public boolean setIBAppear(int selected)
public boolean getIBAppear(int selected)
public boolean setIBDisappear(int selected)
public boolean getIBDisappear(int selected)
public boolean setIBOccluded(int selected)
public boolean getIBOccluded(int selected)
public boolean setIBWalk(int selected)
public boolean getIBWalk(int selected)
public boolean setIBRun(int selected)
public boolean getIBRun(int selected)
public boolean setIBActive(int selected)
public boolean getIBActive(int selected)
public boolean setIBInActive(int selected)
public boolean getIBInActive(int selected)
public boolean setIBFighter(int selected)
public boolean getIBFighter(int selected)
public boolean setIBBrowser(int selected)
public boolean getIBBrowser(int selected)
public boolean setIBLeftBehind(int selected)
public boolean getIBLeftBehind(int selected)
public boolean setIBLeavingGroup(int selected)
public boolean getIBLeavingGroup(int selected)
public boolean setIBWalker(int selected)
public boolean getIBWalker(int selected)
public boolean getIBLeftObject(int selected)
public boolean setIBLeftObject(int selected)
public boolean setIBMovingSit(int selected)
public boolean getIBMovingSit(int selected)
public boolean setIBshopenterSit(int selected)
public boolean getIBshopenterSit(int selected)
public boolean setIBshopexitSit(int selected)
public boolean getIBshopexitSit(int selected)
public boolean setIBwindowshopSce(int selected)
public boolean getIBwindowshopSce(int selected)
public boolean setIBshopenterSce(int selected)
public boolean getIBshopenterSce(int selected)
public boolean setIBshopexitSce(int selected)
public boolean getIBshopexitSce(int selected)
public boolean setIBshopreenterSce(int selected)
public boolean getIBshopreenterSce(int selected)
public boolean setIBInactiveSit(int selected)
public boolean getIBInactiveSit(int selected)
public boolean setIBBrowsingSit(int selected)
public boolean getIBBrowsingSit(int selected)
public boolean setIBBrowsing(int selected)
public boolean getIBBrowsing(int selected)
public boolean setIBImmobile(int selected)
public boolean getIBImmobile(int selected)
public boolean setIBWalking(int selected)
public boolean getIBWalking(int selected)
public boolean setIBDropDown(int selected)
public boolean getIBDropDown(int selected)
public boolean setIBPersonImmobile(int selected)
public boolean getIBPersonImmobile(int selected)
public boolean setIBNoneMov(int selected)
public boolean getIBNoneMov(int selected)
public boolean setIBNoneRol(int selected)
public boolean getIBNoneRol(int selected)
public boolean setIBNoneSce(int selected)
public boolean getIBNoneSce(int selected)
public boolean setIBNoneSit(int selected)
public boolean getIBNoneSit(int selected)
public boolean setGBNoneMov(int selected)
public boolean getGBNoneMov(int selected)
public boolean setGBNoneRol(int selected)
public boolean getGBNoneRol(int selected)
public boolean setGBNoneSce(int selected)
public boolean getGBNoneSce(int selected)
public boolean setGBNoneSit(int selected)
public boolean getGBNoneSit(int selected)
public void setGroupSelected(int index)
public void setSingleSelected(int index)
public void deleteGroBox(int selected)
public boolean isEmptyGroBox(int selected)
public boolean isEmptySingleBox(int selected)
public boolean singleBoxinGroupBox(int selected)
public java.awt.Rectangle getGroupBox(int selected)
public void setGBAxis(int selected, int update)
public int getGBAxis(int selected)
public void setGBIBoxes(int selected, java.lang.String[] inputString)
public boolean[] getGBIBoxes(int selected)
public boolean setGBAppear(int selected)
public boolean getGBAppear(int selected)
public boolean setGBDisappear(int selected)
public boolean getGBDisappear(int selected)
public boolean setGBActive(int selected)
public boolean getGBActive(int selected)
public boolean setGBInActive(int selected)
public boolean getGBInActive(int selected)
public boolean setGBMove(int selected)
public boolean getGBMove(int selected)
public boolean setGBFight(int selected)
public boolean getGBFight(int selected)
public boolean setGBMeet(int selected)
public boolean getGBMeet(int selected)
public boolean setGBWalk(int selected)
public boolean getGBWalk(int selected)
public boolean setGBshopenterSit(int selected)
public boolean getGBshopenterSit(int selected)
public boolean setGBshopexitSit(int selected)
public boolean getGBshopexitSit(int selected)
public boolean setGBwindowshopSce(int selected)
public boolean getGBwindowshopSce(int selected)
public boolean setGBshopenterSce(int selected)
public boolean getGBshopenterSce(int selected)
public boolean setGBshopexitSce(int selected)
public boolean getGBshopexitSce(int selected)
public boolean setGBshopreenterSce(int selected)
public boolean getGBshopreenterSce(int selected)
public boolean setGBbrowserRole(int selected)
public boolean getGBbrowserRole(int selected)
public boolean setGBwalkingSce(int selected)
public boolean getGBwalkingSce(int selected)
public boolean setGBGrFighting(int selected)
public boolean getGBGrFighting(int selected)
public boolean setGBGrMoving(int selected)
public boolean getGBGrMoving(int selected)
public boolean setGBGrMeeting(int selected)
public boolean getGBGrMeeting(int selected)
public boolean setGBGrInteracting(int selected)
public boolean getGBGrInteracting(int selected)
public boolean setGBGrSplitting(int selected)
public boolean getGBGrSplitting(int selected)
public boolean setGBGrInactive(int selected)
public boolean getGBGrInactive(int selected)
public boolean setGBLeftBehind(int selected)
public boolean getGBLeftBehind(int selected)
public boolean setGBLeftObject(int selected)
public boolean getGBLeftObject(int selected)
public boolean setGBFighting(int selected)
public boolean getGBFighting(int selected)
public boolean setGBMeeting(int selected)
public boolean getGBMeeting(int selected)
public boolean setGBLeaving(int selected)
public boolean getGBLeaving(int selected)
public boolean setGBFightStart(int selected)
public boolean getGBFightStart(int selected)
public boolean setGBFightEnd(int selected)
public boolean getGBFightEnd(int selected)
public boolean setGBFightVictimLeft(int selected)
public boolean getGBFightVictimLeft(int selected)
public boolean setGBbrowsingSit(int selected)
public boolean getGBbrowsingSit(int selected)
public boolean checkGroupBoxes()
public void play()
public boolean loadNewSeq(java.lang.String tempSeqName, boolean hundredsFlag)
public void loadFile(java.lang.String seqName, java.lang.String fileName)
public boolean loadFile(java.lang.String fileName)
public boolean saveAsFile(java.lang.String xmlFileName)
public void setPerformCheck()
public void copyToPrev()
public void loadPrev()
public void copyToNext()
public void loadNext()
public void copyBoxNext()
public void copyBodyNext()
public void copyTruthsNext()
public void jumpToFrame(int frameNo)
public void resetFrame()
public void resetAll()
public void drawRect()
public java.awt.Rectangle getBoxforCurrentSelection()
public boolean isASingleBoxSelected()
public SingleBox getSingleBoxSelected()
public Circle FitCircleInBox(Circle circle, java.awt.Rectangle box)
public void drawBody(boolean dragMouse)
public static double atan2(double y, double x)
public Circle drawCircle()
public java.awt.geom.Line2D.Float drawLine()
public void printFrame(int frame)
public void printFrames()
public void setProperty(boolean ind, java.lang.String Property, java.lang.String Value, int id, int from, int to)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |