Package mgui.interfaces.shapes
Class Text2DIntMouseCoords
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.interfaces.shapes.InterfaceShape
mgui.interfaces.shapes.Shape2DInt
mgui.interfaces.shapes.Text2DInt
mgui.interfaces.shapes.Text2DIntMouseCoords
- All Implemented Interfaces:
java.awt.datatransfer.Transferable,java.lang.Cloneable,java.lang.Comparable<InterfaceShape>,AttributeListener,AttributeObject,GraphicListener,GraphicMouseListener,InterfaceMouseListener,InterfaceObject,PersistentObject,VariableObject,PopupMenuObject,NamedObject,InterfaceQueryObject,InterfaceShapeQueryObject,ShapeListener,VertexDataColumnListener,InterfaceTransferable,TreeObject,CleanableObject,XMLObject,IconObject
public class Text2DIntMouseCoords extends Text2DInt implements GraphicMouseListener
-
Nested Class Summary
Nested classes/interfaces inherited from class mgui.interfaces.shapes.InterfaceShape
InterfaceShape.VertexDataSetNested classes/interfaces inherited from interface mgui.interfaces.xml.XMLObject
XMLObject.XMLEncoding, XMLObject.XMLType -
Field Summary
Fields Modifier and Type Field Description intinterfaceTypejava.lang.StringmessageStrstatic intMOUSE_COORDSstatic intMOUSE_PICK_SHAPEstatic intMOUSE_PICK_SHAPE_PROXIMITYInterfaceGraphic2DparentText2DIntMouseCoordsthisRefFields inherited from class mgui.interfaces.shapes.Text2DInt
AlignmentX, AlignmentY, FontName, FontStyleFields inherited from class mgui.interfaces.shapes.Shape2DInt
bounds, centerPt, child3D, drawEngine, idStr, map_idx_to_parent, nodeListener, parentShape, sceneNode, thisShapeFields inherited from class mgui.interfaces.shapes.InterfaceShape
attributes, constraints, data_columns, icon, ID, is_auxiliary, is_registered, isDrawable, isImageShape, isLight, isOverridden, last_column_added, last_column_changed, last_column_removed, linked_colour_maps, loader_options, notifyListeners, overrideAttr, parent_set, selected_nodes, shapeListeners, vertex_data, writer_options, xml_current_column, xml_current_loader, xml_current_shape, xml_current_shape_options, xml_current_type, xml_current_url, xml_is_vertex_data, xml_root_dirFields inherited from class mgui.interfaces.AbstractInterfaceObject
isDestroyed, tree_nodes -
Constructor Summary
Constructors Constructor Description Text2DIntMouseCoords()Text2DIntMouseCoords(Text2D thisText2D) -
Method Summary
Modifier and Type Method Description javax.swing.event.MouseInputAdaptergetMouseListener()java.awt.event.MouseWheelListenergetMouseWheelListener()booleanisShape()voidsetInterfaceType(int thisType)voidsetMap(Map thisMap)voidsetMapType(int mt)voidsetParentWindow(InterfaceGraphic thisParent)voidupdateCoords(double x, double y)voidupdateCoords(org.jogamp.vecmath.Point2d thisPt)voidwindowUpdated(InterfaceGraphic g)Methods inherited from class mgui.interfaces.shapes.Text2DInt
draw, getBounds, getFont, getText, isLabelShape, setBounds, setFont, setShape, setTextMethods inherited from class mgui.interfaces.shapes.Shape2DInt
addVertexData, addVertexData, addVertexData, addVertexData, attributeUpdated, clone, contains, destroy, destroy, drawShape2D, fireShapeListeners, getAllVertexData, getAlpha, getBoundShape, getCenterPoint, getChild3D, getClosestVertex, getClosestVertex3D, getCurrentColumn, getCurrentVertexData, getDatumAtVertex, getDimensions, getDTD, getExtBounds, getGeometry, getGeometryInstance, getLabelColour, getLabelFont, getLabelScale, getLineColour, getLineStyle, getLinkedVertexData, getLinkedVertexDatum, getLocalName, getMapIdxToParent, getModifiedAttribute, getNonLinkedDataColumns, getParentAttribute, getParentShape, getPopupMenu, getPopupMenu, getProximity, getShape, getShape3D, getShape3DInt, getShape3DInt, getShortXML, getTransferData, getTransferDataFlavors, getTreeLabel, getVertex, getVertexColour, getVertexCount, getVertexData, getVertexDataColumn, getVertexDataColumnNames, getVertexDataColumns, getVertexDataMap, getVertexScale, getVertexSelection, getVertexShape, getVertices, getVisibility, handlePopupEvent, hasAlpha, hasAlpha, hasColumn, hasData, hasParentShape, isDataFlavorSupported, isHeritableAttribute, isInheritingAttribute, issueTreeNode, needsRedraw, performTransfer, printNodes, removeVertexData, setAlpha, setChild3D, setCurrentColumn, setCurrentColumn, setGeometry, setGraphic2DPopupMenu, setIcon, setLabelColour, setLabelFont, setLabelScale, setLineStyle, setMapIdxToParent, setParentShape, setTreeNode, setVertexDataMap, setVertexSelection, setVertexShape, shapeUpdated, showPopupMenu, showVertices, showVertices, toString, updateDataColumns, updateShape, validateNodes, writeShapeToXML, writeXMLMethods inherited from class mgui.interfaces.shapes.InterfaceShape
_init, addDataLink, addShapeListener, addVertexData, addVertexData, addVertexData, addVertexData, addVertexData, cleanTreeNodes, compareTo, copyAttributes, finalizeAfterXML, fireShapeModified, fromVariable, getAttribute, getAttributes, getAttributeValue, getByReferenceUrls, getColourMap, getColourMap, getConstraint, getConstraints, getCurrentDataColumn, getDataLink, getDataMax, getDataMin, getDatumAtVertex, getDefaultColourMap, getFileLoader, getFileWriter, getFullName, getID, getInheritedAttribute, getInheritedAttributes, getInheritedAttributeValue, getLastColumnAdded, getLastColumnChanged, getLastColumnRemoved, getLegalName, getLoaderOptions, getModel, getName, getNameMap, getNameMap, getObjectIcon, getParentSet, getSourceURL, getUnit, getUrlReference, getVariables, getVariableType, getVariableValue, getVariableValues, getVertexData, getVertexDataColumnCount, getWriterOptions, getXML, getXML, getXML, getXMLSchema, handleXMLElementEnd, handleXMLElementStart, handleXMLString, hasAttribute, inheritAttributesFromParent, isAuxiliaryShape, isAuxiliaryShape, isDestroyed, isDrawable, isImageShape, isLegalName, isLight, isSelectable, isVisible, newVertexData, queryObject, queryShapeAtVertex, register, removeColourMap, removeDataLink, removeNameMap, removeShapeListener, renameVertexDataColumn, setAttribute, setAttributes, setColourMap, setColourMap, setConstraint, setDataMax, setDataMax, setDataMax, setDataMin, setDataMin, setDataMin, setDatumAtVertex, setDatumAtVertex, setDatumAtVertex, setDatumAtVertex, setDefaultColourMap, setDefaultColourMap, setFileLoader, setFileLoader, setFileWriter, setID, setLoaderOptions, setName, setNameMap, setOverride, setParentSet, setSelectable, setUnit, setUrlReference, setVariableValues, setVariableValues, setVertexData, setVertexData, setVertexData, setVisible, setWriterOptions, setXMLRoot, show2D, show2D, show3D, show3D, showData, showData, supportsVariableType, toVariable, unsetOverride, vertexDataColumnChanged, vertexDataColumnColourMapChanged, writeXML, writeXMLMethods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, updateTreeNodesMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface mgui.interfaces.util.CleanableObject
cleanMethods inherited from interface mgui.interfaces.shapes.util.ShapeListener
isDestroyed
-
Field Details
-
parent
-
messageStr
public java.lang.String messageStr -
thisRef
-
interfaceType
public int interfaceType -
MOUSE_COORDS
public static final int MOUSE_COORDS- See Also:
- Constant Field Values
-
MOUSE_PICK_SHAPE
public static final int MOUSE_PICK_SHAPE- See Also:
- Constant Field Values
-
MOUSE_PICK_SHAPE_PROXIMITY
public static final int MOUSE_PICK_SHAPE_PROXIMITY- See Also:
- Constant Field Values
-
-
Constructor Details
-
Text2DIntMouseCoords
public Text2DIntMouseCoords() -
Text2DIntMouseCoords
-
-
Method Details
-
setInterfaceType
public void setInterfaceType(int thisType) -
updateCoords
public void updateCoords(org.jogamp.vecmath.Point2d thisPt) -
updateCoords
public void updateCoords(double x, double y) -
setParentWindow
- Specified by:
setParentWindowin interfaceGraphicListener
-
getMouseListener
public javax.swing.event.MouseInputAdapter getMouseListener()- Specified by:
getMouseListenerin interfaceInterfaceMouseListener
-
getMouseWheelListener
public java.awt.event.MouseWheelListener getMouseWheelListener()- Specified by:
getMouseWheelListenerin interfaceInterfaceMouseListener
-
isShape
public boolean isShape()- Specified by:
isShapein interfaceGraphicListener
-
setMap
- Specified by:
setMapin interfaceGraphicMouseListener
-
setMapType
public void setMapType(int mt) -
windowUpdated
- Specified by:
windowUpdatedin interfaceGraphicListener
-