public class MapInstrument_Template
extends com.mindgene.d20.common.map.instrument.MapInstrument_Default
| Constructor and Description |
|---|
MapInstrument_Template(com.mindgene.d20.common.AbstractApp app,
MapTemplateCommands commands) |
| Modifier and Type | Method and Description |
|---|---|
MapTemplateCommands |
accessCommands() |
void |
assignMode(TemplateMode_Abstract mode) |
com.mindgene.d20.common.map.instrument.MapInstrumentDropBar_Abstract |
buildDropBar() |
javax.swing.JPopupMenu |
buildPopupMenu(MapTemplate template,
GenericMapView genericMapView) |
boolean |
cancel()
Cancels the movement
|
void |
draw(java.awt.Graphics2D g2,
GenericMapView mapView) |
static MapTemplate |
findTemplateInCells(java.awt.Point point,
GenericMapView genericMapView) |
java.lang.String |
getName() |
boolean |
isSilentPlacing() |
protected void |
leftPressedLogic(java.awt.event.MouseEvent me) |
protected void |
leftReleasedLogic(java.awt.event.MouseEvent me) |
protected void |
mouseDraggedLogic(java.awt.event.MouseEvent me) |
protected void |
mouseMovedLogic(java.awt.event.MouseEvent me) |
void |
setSilentPlacing(boolean silentPlacing) |
void |
updateDropBar() |
accessLinkedConsole, accessMapView, allowMove, cancelCurrentInstrument, cancelMove, commitMove, drawNotOver, getCreatureUnderLeftClick, initialize, launchPopup, launchPopup, leftPressed, leftReleased, mouseDragged, mouseMoved, removeCursor, resolveLocation_Cell, resolveLocation_Vertex, resolveVertexBounds, rightPressed, rightPressedLogic, rightReleased, rightReleasedLogic, updateTooltipinterceptKeystrokepublic MapInstrument_Template(com.mindgene.d20.common.AbstractApp app,
MapTemplateCommands commands)
public java.lang.String getName()
getName in interface com.sengent.common.control.NamedgetName in class com.mindgene.d20.common.map.instrument.MapInstrument_Defaultpublic MapTemplateCommands accessCommands()
public void assignMode(TemplateMode_Abstract mode)
public boolean cancel()
com.mindgene.d20.common.map.instrument.MapInstrument_Defaultcancel in class com.mindgene.d20.common.map.instrument.MapInstrument_Defaultpublic com.mindgene.d20.common.map.instrument.MapInstrumentDropBar_Abstract buildDropBar()
buildDropBar in class com.mindgene.d20.common.map.instrument.MapInstrument_Defaultprotected void leftPressedLogic(java.awt.event.MouseEvent me)
leftPressedLogic in class com.mindgene.d20.common.map.instrument.MapInstrument_Defaultprotected void leftReleasedLogic(java.awt.event.MouseEvent me)
leftReleasedLogic in class com.mindgene.d20.common.map.instrument.MapInstrument_Defaultprotected void mouseMovedLogic(java.awt.event.MouseEvent me)
mouseMovedLogic in class com.mindgene.d20.common.map.instrument.MapInstrument_Defaultprotected void mouseDraggedLogic(java.awt.event.MouseEvent me)
mouseDraggedLogic in class com.mindgene.d20.common.map.instrument.MapInstrument_Defaultpublic void draw(java.awt.Graphics2D g2,
GenericMapView mapView)
draw in class com.mindgene.d20.common.map.instrument.MapInstrument_Defaultpublic void updateDropBar()
updateDropBar in class com.mindgene.d20.common.map.instrument.MapInstrument_Defaultpublic boolean isSilentPlacing()
public void setSilentPlacing(boolean silentPlacing)
public static MapTemplate findTemplateInCells(java.awt.Point point, GenericMapView genericMapView)
public javax.swing.JPopupMenu buildPopupMenu(MapTemplate template, GenericMapView genericMapView)