|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel javax.media.opengl.awt.GLJPanel nl.tudelft.goal.ut2004.visualizer.map.MapGLPanel nl.tudelft.goal.ut2004.visualizer.map.SelectableMapGLPanel
public abstract class SelectableMapGLPanel
This is MapGLPanel that is adding selection behavior, when bot is clicked in the map, list of selected bots in this map IPogamutEnvironments global lookup will change.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Nested classes/interfaces inherited from interface javax.media.nativewindow.WindowClosingProtocol |
---|
javax.media.nativewindow.WindowClosingProtocol.WindowClosingMode |
Field Summary |
---|
Fields inherited from class nl.tudelft.goal.ut2004.visualizer.map.MapGLPanel |
---|
agentRenderes, environmentRenderer, lastGLName, mapController, mapRenderer, mapViewpoint, objectRenderes |
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 javax.media.opengl.GLAutoDrawable |
---|
SCREEN_CHANGE_ACTION_ENABLED |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
SelectableMapGLPanel(javax.media.opengl.GLCapabilities caps,
UT2004Map map)
|
|
SelectableMapGLPanel(cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealMap map,
Logger log)
|
Method Summary | |
---|---|
void |
destroy()
Remove listeners and basically clean up this map. |
protected ISelectionHandler |
getSelectionHandler()
|
void |
mouseClicked(MouseEvent e)
|
void |
mouseEntered(MouseEvent e)
|
void |
mouseExited(MouseEvent e)
|
void |
mousePressed(MouseEvent e)
|
void |
mouseReleased(MouseEvent e)
|
void |
setSelectionHandler(ISelectionHandler selectionHandler)
|
Methods inherited from class nl.tudelft.goal.ut2004.visualizer.map.MapGLPanel |
---|
getMap, getObjectsAt, onChangedViewpoint |
Methods inherited from class javax.media.opengl.awt.GLJPanel |
---|
addGLEventListener, addGLEventListener, addNotify, createContext, display, dispose, getAnimator, getAutoSwapBufferMode, getChosenGLCapabilities, getContext, getContextCreationFlags, getDefaultCloseOperation, getDelegatedDrawable, getFactory, getGL, getGLProfile, getHandle, getNativeSurface, getThreadName, getUpstreamWidget, invoke, isRealized, paintComponent, removeGLEventListener, removeGLEventListener, removeNotify, reshape, setAnimator, setAutoSwapBufferMode, setContext, setContextCreationFlags, setDefaultCloseOperation, setGL, setOpaque, setRealized, shouldPreserveColorBufferIfTranslucent, swapBuffers, toString |
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.media.opengl.awt.AWTGLAutoDrawable |
---|
repaint, setSize |
Methods inherited from interface javax.media.opengl.GLDrawable |
---|
getHeight, getWidth |
Methods inherited from interface javax.media.opengl.awt.ComponentEvents |
---|
addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener |
Constructor Detail |
---|
public SelectableMapGLPanel(javax.media.opengl.GLCapabilities caps, UT2004Map map)
public SelectableMapGLPanel(cz.cuni.amis.pogamut.unreal.communication.worldview.map.IUnrealMap map, Logger log)
Method Detail |
---|
public void destroy()
MapGLPanel
destroy
in interface javax.media.opengl.GLAutoDrawable
destroy
in class MapGLPanel
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
protected ISelectionHandler getSelectionHandler()
public void setSelectionHandler(ISelectionHandler selectionHandler)
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |