Package mgui.morph.sections
Class RadialRep2DInt
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.interfaces.shapes.InterfaceShape
mgui.interfaces.shapes.Shape2DInt
mgui.morph.sections.RadialRep2DInt
- All Implemented Interfaces:
java.awt.datatransfer.Transferable,java.lang.Cloneable,java.lang.Comparable<InterfaceShape>,AttributeListener,AttributeObject,InterfaceObject,PersistentObject,VariableObject,PopupMenuObject,NamedObject,InterfaceQueryObject,InterfaceShapeQueryObject,ShapeListener,VertexDataColumnListener,InterfaceTransferable,TreeObject,CleanableObject,XMLObject,IconObject
public class RadialRep2DInt extends Shape2DInt
-
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 static intDRAW_CIRCLE_EXTstatic intDRAW_CIRCLE_ONLYstatic intDRAW_CIRCLE_RADIIstatic intDRAW_RADII_ONLYstatic intDRAW_TRUE_EXTstatic intDRAW_TRUE_RADIIFields 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 RadialRep2DInt()RadialRep2DInt(Polygon2D thisPoly)RadialRep2DInt(RadialRep2D thisRR)RadialRep2DInt(RadialRepresentation thisRR) -
Method Summary
Modifier and Type Method Description voiddrawShape2D(java.awt.Graphics2D g, DrawingEngine d)ABSTRACT METHODSShapegetGeometryInstance()Returns an instance of thisInterfaceShape's geometry class.intgetPolygonNode(int i)java.util.ArrayList<java.lang.String>getPolygonNodeLabels()Shape2DgetShape()Polygon2DgetSource()voidsetCircle(Circle2D thisCircle)voidsetRepresentation(Polygon2D thisPoly)voidshapeUpdated(ShapeEvent e)A shape that this object is listening to has been updated.java.lang.StringtoString()voidupdateShape()Methods inherited from class mgui.interfaces.shapes.Shape2DInt
addVertexData, addVertexData, addVertexData, addVertexData, attributeUpdated, clone, contains, destroy, destroy, draw, fireShapeListeners, getAllVertexData, getAlpha, getBounds, getBoundShape, getCenterPoint, getChild3D, getClosestVertex, getClosestVertex3D, getCurrentColumn, getCurrentVertexData, getDatumAtVertex, getDimensions, getDTD, getExtBounds, getGeometry, getLabelColour, getLabelFont, getLabelScale, getLineColour, getLineStyle, getLinkedVertexData, getLinkedVertexDatum, getLocalName, getMapIdxToParent, getModifiedAttribute, getNonLinkedDataColumns, getParentAttribute, getParentShape, getPopupMenu, getPopupMenu, getProximity, 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, isLabelShape, issueTreeNode, needsRedraw, performTransfer, printNodes, removeVertexData, setAlpha, setChild3D, setCurrentColumn, setCurrentColumn, setGeometry, setGraphic2DPopupMenu, setIcon, setLabelColour, setLabelFont, setLabelScale, setLineStyle, setMapIdxToParent, setParentShape, setShape, setTreeNode, setVertexDataMap, setVertexSelection, setVertexShape, showPopupMenu, showVertices, showVertices, updateDataColumns, 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
-
DRAW_TRUE_EXT
public static final int DRAW_TRUE_EXT- See Also:
- Constant Field Values
-
DRAW_TRUE_RADII
public static final int DRAW_TRUE_RADII- See Also:
- Constant Field Values
-
DRAW_CIRCLE_EXT
public static final int DRAW_CIRCLE_EXT- See Also:
- Constant Field Values
-
DRAW_CIRCLE_RADII
public static final int DRAW_CIRCLE_RADII- See Also:
- Constant Field Values
-
DRAW_CIRCLE_ONLY
public static final int DRAW_CIRCLE_ONLY- See Also:
- Constant Field Values
-
DRAW_RADII_ONLY
public static final int DRAW_RADII_ONLY- See Also:
- Constant Field Values
-
-
Constructor Details
-
RadialRep2DInt
public RadialRep2DInt() -
RadialRep2DInt
-
RadialRep2DInt
-
RadialRep2DInt
-
-
Method Details
-
getGeometryInstance
Description copied from class:InterfaceShapeReturns an instance of thisInterfaceShape's geometry class.- Overrides:
getGeometryInstancein classShape2DInt- Returns:
-
drawShape2D
Description copied from class:InterfaceShapeABSTRACT METHODS- Overrides:
drawShape2Din classShape2DInt
-
updateShape
public void updateShape()- Overrides:
updateShapein classShape2DInt
-
setCircle
-
getPolygonNode
public int getPolygonNode(int i) -
getPolygonNodeLabels
public java.util.ArrayList<java.lang.String> getPolygonNodeLabels() -
shapeUpdated
Description copied from interface:ShapeListenerA shape that this object is listening to has been updated. The specific type of event is defined by ShapeEvent.EventType.- Specified by:
shapeUpdatedin interfaceShapeListener- Overrides:
shapeUpdatedin classShape2DInt
-
setRepresentation
-
getSource
-
getShape
- Overrides:
getShapein classShape2DInt
-
toString
public java.lang.String toString()- Overrides:
toStringin classShape2DInt
-