Package mgui.interfaces.shapes.queries
Class ShapeSummaryQuery
java.lang.Object
mgui.interfaces.queries.InterfaceQuery
mgui.interfaces.shapes.queries.InterfaceShapeQuery
mgui.interfaces.shapes.queries.ShapeSummaryQuery
- All Implemented Interfaces:
InterfaceObject
,NamedObject
,TreeObject
,CleanableObject
,IconObject
public class ShapeSummaryQuery extends InterfaceShapeQuery
Extension of
InterfaceShapeQuery
to provide summary values for a shape,
or a vertex selection within that shape. This includes a vertex count, and means,
variances, and sums for all data columns- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Nested Class Summary
Nested classes/interfaces inherited from class mgui.interfaces.shapes.queries.InterfaceShapeQuery
InterfaceShapeQuery.QueryMode
-
Field Summary
Fields inherited from class mgui.interfaces.shapes.queries.InterfaceShapeQuery
last_shape, vertices
Fields inherited from class mgui.interfaces.queries.InterfaceQuery
listeners, name, results, sorted_objects
-
Constructor Summary
Constructors Constructor Description ShapeSummaryQuery(java.lang.String name)
-
Method Summary
Modifier and Type Method Description InterfaceQuery
getNewInstance(java.lang.String name)
Returns a new instance of this class of query.void
setFromShape(InterfaceShape shape)
java.lang.String
toString()
Methods inherited from class mgui.interfaces.shapes.queries.InterfaceShapeQuery
addQueryVertex, canQuery, clearVertices, getLastQueriedObject, getVertices, query, removeQueryVertex, setFromShape2D, setFromShape3D, setTreeNode
Methods inherited from class mgui.interfaces.queries.InterfaceQuery
addListener, addResult, clean, clearResults, destroy, fireListeners, getLastResult, getName, getObjectIcon, getObjects, getResult, getResults, getResultTreeNode, getTreeLabel, isDestroyed, issueTreeNode, removeListener, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ShapeSummaryQuery
public ShapeSummaryQuery(java.lang.String name)
-
-
Method Details
-
setFromShape
- Overrides:
setFromShape
in classInterfaceShapeQuery
-
getNewInstance
Description copied from class:InterfaceQuery
Returns a new instance of this class of query.- Overrides:
getNewInstance
in classInterfaceShapeQuery
- Returns:
-
toString
public java.lang.String toString()- Overrides:
toString
in classInterfaceShapeQuery
-