JGraph X 1.0.2.8


Uses of Class
com.mxgraph.util.mxPoint

Packages that use mxPoint
com.mxgraph.canvas   
com.mxgraph.model   
com.mxgraph.swing   
com.mxgraph.swing.handler   
com.mxgraph.util   
com.mxgraph.view   
 

Uses of mxPoint in com.mxgraph.canvas
 

Methods in com.mxgraph.canvas that return mxPoint
 mxPoint mxSvgCanvas.drawMarker(Element parent, Object type, mxPoint p0, mxPoint pe, float size, float strokeWidth, String color)
          Draws the specified marker as a child path in the given parent.
 mxPoint mxGraphics2DCanvas.drawMarker(Object type, mxPoint p0, mxPoint pe, float size, float strokeWidth)
          Draws the given type of marker.
 

Methods in com.mxgraph.canvas with parameters of type mxPoint
protected  Polygon mxGraphics2DCanvas.createArrow(mxPoint p0, mxPoint pe)
          Creates a polygon that represents an arrow.
 mxPoint mxSvgCanvas.drawMarker(Element parent, Object type, mxPoint p0, mxPoint pe, float size, float strokeWidth, String color)
          Draws the specified marker as a child path in the given parent.
 mxPoint mxGraphics2DCanvas.drawMarker(Object type, mxPoint p0, mxPoint pe, float size, float strokeWidth)
          Draws the given type of marker.
 

Uses of mxPoint in com.mxgraph.model
 

Subclasses of mxPoint in com.mxgraph.model
 class mxGeometry
          Represents the geometry of a cell.
 

Fields in com.mxgraph.model declared as mxPoint
protected  mxPoint mxGeometry.offset
          Holds the offset of the label for edges.
protected  mxPoint mxGeometry.sourcePoint
          Defines the source- and target-point of the edge.
protected  mxPoint mxGeometry.targetPoint
          Defines the source- and target-point of the edge.
 

Methods in com.mxgraph.model that return mxPoint
 mxPoint mxGeometry.getOffset()
          Returns the offset.
 mxPoint mxGraphModel.getOrigin(Object cell)
          Returns the absolute, accumulated origin for the children inside the given parent.
 mxPoint mxGeometry.getSourcePoint()
          Returns the source point.
 mxPoint mxGeometry.getTargetPoint()
          Returns the target point.
 mxPoint mxGeometry.getTerminalPoint(boolean isSource)
          Returns the point representing the source or target point of this edge.
 mxPoint mxGeometry.setTerminalPoint(mxPoint point, boolean isSource)
          Sets the sourcePoint or targetPoint to the given point and returns the new point.
 

Methods in com.mxgraph.model with parameters of type mxPoint
 void mxGeometry.setOffset(mxPoint offset)
          Sets the offset to the given point.
 void mxGeometry.setSourcePoint(mxPoint sourcePoint)
          Sets the source point.
 void mxGeometry.setTargetPoint(mxPoint targetPoint)
          Sets the target point.
 mxPoint mxGeometry.setTerminalPoint(mxPoint point, boolean isSource)
          Sets the sourcePoint or targetPoint to the given point and returns the new point.
 

Uses of mxPoint in com.mxgraph.swing
 

Methods in com.mxgraph.swing that return mxPoint
protected  mxPoint mxGraphComponent.getPageTranslate(double scale)
          Should be called by a hook inside mxGraphView/mxGraph
 mxPoint mxGraphComponent.getPointForEvent(MouseEvent e)
          Returns an mxPoint representing the given event in the unscaled, non-translated coordinate space and applies the grid.
 mxPoint mxGraphComponent.snapScaledPoint(mxPoint pt)
           
 mxPoint mxGraphComponent.snapScaledPoint(mxPoint pt, double dx, double dy)
           
 

Methods in com.mxgraph.swing with parameters of type mxPoint
 mxPoint mxGraphComponent.snapScaledPoint(mxPoint pt)
           
 mxPoint mxGraphComponent.snapScaledPoint(mxPoint pt, double dx, double dy)
           
 

Uses of mxPoint in com.mxgraph.swing.handler
 

Methods in com.mxgraph.swing.handler that return mxPoint
protected  mxPoint mxEdgeHandler.convertPoint(mxPoint point, boolean gridEnabled)
           
 

Methods in com.mxgraph.swing.handler with parameters of type mxPoint
protected  mxPoint mxEdgeHandler.convertPoint(mxPoint point, boolean gridEnabled)
           
protected  void mxEdgeHandler.movePoint(Object edge, int pointIndex, mxPoint point)
          Moves the edges control point with the given index to the given point.
 

Uses of mxPoint in com.mxgraph.util
 

Subclasses of mxPoint in com.mxgraph.util
 class mxRectangle
          Implements a 2-dimensional rectangle with double precision coordinates.
 

Methods in com.mxgraph.util that return mxPoint
static mxPoint mxUtils.getRotatedPoint(mxPoint pt, double cos, double sin)
          Rotates the given point by the given cos and sin.
static mxPoint mxUtils.getRotatedPoint(mxPoint pt, double cos, double sin, mxPoint c)
          Rotates the given point by the given cos and sin.
static mxPoint mxUtils.intersection(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3)
          Returns the intersection of two lines as an mxPoint.
 

Methods in com.mxgraph.util with parameters of type mxPoint
static mxRectangle mxUtils.getLabelPaintBounds(String label, Hashtable style, boolean isHtml, mxPoint offset, mxRectangle vertexBounds, double scale)
          Returns the paint bounds for the given label.
static mxPoint mxUtils.getRotatedPoint(mxPoint pt, double cos, double sin)
          Rotates the given point by the given cos and sin.
static mxPoint mxUtils.getRotatedPoint(mxPoint pt, double cos, double sin, mxPoint c)
          Rotates the given point by the given cos and sin.
 

Constructors in com.mxgraph.util with parameters of type mxPoint
mxPoint(mxPoint point)
          Constructs a new point at the location of the given point.
 

Uses of mxPoint in com.mxgraph.view
 

Subclasses of mxPoint in com.mxgraph.view
 class mxCellState
          Represents the current state of a cell in a given graph view.
 

Fields in com.mxgraph.view declared as mxPoint
protected  mxPoint mxCellState.absoluteOffset
          Holds the absolute offset.
protected  mxPoint mxCellState.origin
          Holds the origin for all child cells.
protected  mxPoint mxGraphView.translate
          Point that specifies the current translation.
 

Methods in com.mxgraph.view that return mxPoint
 mxPoint mxPerimeter.mxPerimeterFunction.apply(mxRectangle bounds, mxCellState edgeState, mxCellState terminalState, boolean isSource, mxPoint next)
          Implements a perimeter function.
 mxPoint mxCellState.getAbsoluteOffset()
          Returns the absolute offset.
 mxPoint mxCellState.getAbsolutePoint(int index)
          Returns the absolute point at the given index.
 mxPoint mxGraph.getChildOffsetForCell(Object cell)
          Returns the offset to be used for the cells inside the given cell.
 mxPoint mxGraphView.getNextPoint(mxCellState state, Object opposite, boolean isSource)
          Returns the nearest point in the list of absolute points or the center of the opposite terminal.
 mxPoint mxCellState.getOrigin()
          Returns the origin for the children.
 mxPoint mxGraphView.getPerimeterPoint(mxCellState state, Object start, Object end, boolean isSource)
          Returns a point that defines the location of the connection point between the edge represented by the given state and the source or target end of the edge, depending on isSource.
 mxPoint mxGraphView.getPoint(mxCellState state)
          Returns the absolute center point along the given edge.
 mxPoint mxGraphView.getPoint(mxCellState state, mxGeometry geometry)
          Returns the absolute point on the edge for the given relative geometry as a point.
 mxPoint mxGraphView.getRelativePoint(mxCellState edgeState, double x, double y)
          Gets the relative point that describes the given, absolute label position for the given edge state.
 mxPoint mxGraphView.getTranslate()
          Returns the current translation.
 mxPoint mxGraph.getTranslateForRoot(Object cell)
          Returns the translation to be used if the given cell is the root cell as an .
 mxPoint mxCellState.setAbsolutePoint(int index, mxPoint point)
          Returns the absolute point at the given index.
 mxPoint mxGraphView.transformControlPoint(mxCellState state, mxPoint pt)
          Transforms the given control point to an absolute point.
 

Methods in com.mxgraph.view with parameters of type mxPoint
 mxPoint mxPerimeter.mxPerimeterFunction.apply(mxRectangle bounds, mxCellState edgeState, mxCellState terminalState, boolean isSource, mxPoint next)
          Implements a perimeter function.
 void mxCellState.setAbsoluteOffset(mxPoint absoluteOffset)
          Returns the absolute offset.
 mxPoint mxCellState.setAbsolutePoint(int index, mxPoint point)
          Returns the absolute point at the given index.
 void mxCellState.setAbsoluteTerminalPoint(mxPoint point, boolean isSource)
          Sets the first or last point in the list of points depending on isSource.
 void mxCellState.setOrigin(mxPoint origin)
          Sets the origin for the children.
 void mxGraphView.setTranslate(mxPoint value)
          Sets the current translation and invalidates the view.
 mxPoint mxGraphView.transformControlPoint(mxCellState state, mxPoint pt)
          Transforms the given control point to an absolute point.
 


JGraph X 1.0.2.8


Copyright (c) 2008 Gaudenz Alder. All rights reserved.