|
JGraph X 0.15.0.3 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use mxRectangle | |
---|---|
com.mxgraph.model | |
com.mxgraph.swing | |
com.mxgraph.swing.handler | |
com.mxgraph.swing.util | |
com.mxgraph.util | |
com.mxgraph.view |
Uses of mxRectangle in com.mxgraph.model |
---|
Subclasses of mxRectangle in com.mxgraph.model | |
---|---|
class |
mxGeometry
Represents the geometry of a cell. |
Fields in com.mxgraph.model declared as mxRectangle | |
---|---|
protected mxRectangle |
mxGeometry.alternateBounds
Stores alternate values for x, y, width and height in a rectangle. |
Methods in com.mxgraph.model that return mxRectangle | |
---|---|
mxRectangle |
mxGeometry.getAlternateBounds()
Returns the alternate bounds. |
Methods in com.mxgraph.model with parameters of type mxRectangle | |
---|---|
void |
mxGeometry.setAlternateBounds(mxRectangle rect)
Sets the alternate bounds to the given rectangle. |
Uses of mxRectangle in com.mxgraph.swing |
---|
Fields in com.mxgraph.swing declared as mxRectangle | |
---|---|
protected mxRectangle |
mxGraphOutline.repaintClip
Clip of the triple buffer to be repainted. |
Methods in com.mxgraph.swing that return mxRectangle | |
---|---|
mxRectangle |
mxGraphComponent.getLayoutAreaSize()
Returns the size of the area that layouts can operate in. |
Uses of mxRectangle in com.mxgraph.swing.handler |
---|
Fields in com.mxgraph.swing.handler declared as mxRectangle | |
---|---|
protected mxRectangle |
mxGraphHandler.bbox
Scaled, translated bounding box of the selection cells. |
protected mxRectangle |
mxGraphHandler.cellBounds
Scaled, translated bounds of the selection cells. |
protected mxRectangle |
mxGraphHandler.previewBbox
|
protected mxRectangle |
mxGraphHandler.previewBounds
|
protected mxRectangle |
mxGraphHandler.transferBounds
Unscaled, untranslated bounding box of the selection cells. |
Methods in com.mxgraph.swing.handler that return mxRectangle | |
---|---|
protected mxRectangle |
mxVertexHandler.union(mxRectangle bounds,
double dx,
double dy,
int index)
|
Methods in com.mxgraph.swing.handler with parameters of type mxRectangle | |
---|---|
protected boolean |
mxGraphTransferHandler.importCells(mxGraphComponent graphComponent,
Object[] cells,
mxRectangle bounds)
Returns true if the cells have been imported. |
protected mxRectangle |
mxVertexHandler.union(mxRectangle bounds,
double dx,
double dy,
int index)
|
Uses of mxRectangle in com.mxgraph.swing.util |
---|
Fields in com.mxgraph.swing.util declared as mxRectangle | |
---|---|
protected mxRectangle |
mxGraphTransferable.bounds
|
Methods in com.mxgraph.swing.util that return mxRectangle | |
---|---|
mxRectangle |
mxGraphTransferable.getBounds()
Returns the unscaled, untranslated bounding box of the cells. |
mxRectangle |
mxOverlay.getBounds(mxCellState state)
|
mxRectangle |
mxIOverlay.getBounds(mxCellState state)
|
Constructors in com.mxgraph.swing.util with parameters of type mxRectangle | |
---|---|
mxGraphTransferable(Object[] cells,
mxRectangle bounds)
|
|
mxGraphTransferable(Object[] cells,
mxRectangle bounds,
ImageIcon image)
|
Uses of mxRectangle in com.mxgraph.util |
---|
Methods in com.mxgraph.util that return mxRectangle | |
---|---|
static mxRectangle |
mxUtils.getBoundingBox(mxRectangle rect,
double rotation)
Returns the bounding box for the rotated rectangle. |
static mxRectangle |
mxUtils.getLabelSize(String label,
Hashtable style,
boolean isHtml)
Returns the size for the given label. |
static mxRectangle |
mxUtils.getScaledLabelBounds(double x,
double y,
mxRectangle size,
double outerWidth,
double outerHeight,
Hashtable style,
double scale)
Returns the bounds for a label for the given location and size, taking into account the alignment and spacing in the specified style, as well as the width and height of the rectangle that contains the label. |
static mxRectangle |
mxUtils.getSizeForHtml(String markup,
Hashtable style)
Returns an mxRectangle with the size (width and height in pixels) of the given HTML markup. |
static mxRectangle |
mxUtils.getSizeForString(String text)
Returns the size of the given text. |
static mxRectangle |
mxUtils.getSizeForString(String text,
float fontSize)
Returns the size of the given text. |
static mxRectangle |
mxUtils.getSizeForString(String text,
float fontSize,
String fontFamily)
Returns an |
static mxRectangle |
mxUtils.getSizeForString(String text,
float fontSize,
String fontFamily,
int fontStyle)
Returns an |
Methods in com.mxgraph.util with parameters of type mxRectangle | |
---|---|
void |
mxRectangle.add(mxRectangle rect)
Adds the given rectangle to this rectangle. |
static boolean |
mxUtils.contains(mxRectangle bounds,
double x,
double y)
Returns true if the specified point (x, y) is contained in the given rectangle. |
static BufferedImage |
mxCellRenderer.createBufferedImage(mxGraph graph,
Object[] cells,
double scale,
Color background,
boolean antiAlias,
mxRectangle clip)
|
static BufferedImage |
mxCellRenderer.createBufferedImage(mxGraph graph,
Object[] cells,
double scale,
Color background,
boolean antiAlias,
mxRectangle clip,
mxGraphics2DCanvas graphicsCanvas)
|
static Document |
mxCellRenderer.createHtmlDocument(mxGraph graph,
Object[] cells,
double scale,
Color background,
mxRectangle clip)
|
static Document |
mxCellRenderer.createSvgDocument(mxGraph graph,
Object[] cells,
double scale,
Color background,
mxRectangle clip)
|
static Document |
mxCellRenderer.createVmlDocument(mxGraph graph,
Object[] cells,
double scale,
Color background,
mxRectangle clip)
|
static mxICanvas |
mxCellRenderer.drawCells(mxGraph graph,
Object[] cells,
double scale,
mxRectangle clip,
mxCellRenderer.CanvasFactory factory)
Draws the given cells using a Graphics2D canvas and returns the buffered image that represents the cells. |
static mxRectangle |
mxUtils.getBoundingBox(mxRectangle rect,
double rotation)
Returns the bounding box for the rotated rectangle. |
static mxRectangle |
mxUtils.getScaledLabelBounds(double x,
double y,
mxRectangle size,
double outerWidth,
double outerHeight,
Hashtable style,
double scale)
Returns the bounds for a label for the given location and size, taking into account the alignment and spacing in the specified style, as well as the width and height of the rectangle that contains the label. |
Constructors in com.mxgraph.util with parameters of type mxRectangle | |
---|---|
mxRectangle(mxRectangle rect)
Constructs a copy of the given rectangle. |
Uses of mxRectangle in com.mxgraph.view |
---|
Subclasses of mxRectangle 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 mxRectangle | |
---|---|
protected mxRectangle |
mxCellState.boundingBox
Holds the largest rectangle which contains all rendering for this cell. |
protected mxRectangle |
mxGraphView.bounds
Caches the current bounds of the graph. |
protected mxRectangle |
mxCellState.labelBounds
Holds the rectangle which contains the label. |
protected mxRectangle |
mxGraph.maximumContainerSize
mxRectangle that specifies the maximum size of the container if resizeContainer is true. |
protected mxRectangle |
mxGraph.maximumGraphBounds
|
protected mxRectangle |
mxGraph.minimumContainerSize
mxRectangle that specifies the minimum size of the container if resizeContainer is true. |
Methods in com.mxgraph.view that return mxRectangle | |
---|---|
mxRectangle |
mxCellState.getBoundingBox()
Returns the bounding box. |
mxRectangle |
mxGraph.getBoundingBox(Object cell)
Returns the bounds of the given cell. |
mxRectangle |
mxGraphView.getBoundingBox(Object[] cells)
Returns the bounding box for an array of cells or null, if no cells are specified. |
mxRectangle |
mxGraph.getBoundingBox(Object cell,
boolean includeEdges)
Returns the bounding box of the given cell including all connected edges if includeEdge is true. |
mxRectangle |
mxGraph.getBoundingBox(Object cell,
boolean includeEdges,
boolean includeDescendants)
Returns the bounding box of the given cell including all connected edges if includeEdge is true. |
mxRectangle |
mxGraph.getBounds()
Returns the bounds of the visible graph. |
mxRectangle |
mxGraphView.getBounds()
Returns the cached diagram bounds. |
mxRectangle |
mxGraphView.getBounds(Object[] cells)
Returns the bounding box for an array of cells or null, if no cells are specified. |
mxRectangle |
mxGraphView.getBounds(Object[] cells,
boolean boundingBox)
Returns the bounding box for an array of cells or null, if no cells are specified. |
mxRectangle |
mxGraph.getBoundsForCells(Object[] cells,
boolean includeEdges,
boolean includeDescendants,
boolean boundingBox)
Returns the bounds for the given cells. |
mxRectangle |
mxGraph.getCellBounds(Object cell)
Returns the bounds of the given cell. |
mxRectangle |
mxGraph.getCellBounds(Object cell,
boolean includeEdges)
Returns the bounds of the given cell including all connected edges if includeEdge is true. |
mxRectangle |
mxGraph.getCellBounds(Object cell,
boolean includeEdges,
boolean includeDescendants)
Returns the bounds of the given cell including all connected edges if includeEdge is true. |
mxRectangle |
mxGraph.getCellBounds(Object cell,
boolean includeEdges,
boolean includeDescendants,
boolean boundingBox)
Returns the bounds of the given cell including all connected edges if includeEdge is true. |
mxRectangle |
mxGraph.getContentArea(Object cell)
Returns the mxRectangle inside which a cell is to be kept. |
mxRectangle |
mxCellState.getLabelBounds()
Returns the label bounds. |
mxRectangle |
mxGraph.getMaximumContainerSize()
Returns the maximum size of the diagram. |
mxRectangle |
mxGraph.getMaximumGraphBounds()
|
mxRectangle |
mxGraph.getMinimumContainerSize()
Returns the minimum size of the diagram. |
mxRectangle |
mxGraph.getPaintBounds(Object[] cells)
Returns the bounding box of the given cells and their descendants. |
mxRectangle |
mxCellState.getPerimeterBounds()
Returns the rectangle that should be used as the perimeter of the cell. |
mxRectangle |
mxCellState.getPerimeterBounds(double border)
Returns the rectangle that should be used as the perimeter of the cell. |
mxRectangle |
mxGraphView.getPerimeterBounds(mxCellState terminal,
mxCellState edge,
boolean isSource)
Returns the perimeter bounds for the given terminal, edge pair. |
mxRectangle |
mxGraph.getPreferredSizeForCell(Object cell)
Returns the preferred width and height of the given |
mxRectangle |
mxGraph.getStartSize(Object swimlane)
Returns the start size of the given swimlane, that is, the width or height of the part that contains the title, depending on the horizontal style. |
mxRectangle |
mxGraph.graphModelChanged(mxIGraphModel sender,
List changes)
Called when the graph model changes. |
mxRectangle |
mxGraph.processChange(Object change,
boolean invalidate)
Processes the given change and invalidates the respective cached data in |
mxRectangle |
mxGraph.processChanges(List changes,
boolean invalidate)
Processes the changes and returns the minimal rectangle to be repainted in the buffer. |
mxRectangle |
mxGraphView.updateBoundingBox(mxCellState state)
Updates the bounding box in the given cell state. |
mxRectangle |
mxGraphView.validatePoints(mxCellState parentState,
Object cell)
Validates the points for the state of the given cell recursively if the cell is not collapsed and returns the bounding box of all visited states as a rectangle. |
Methods in com.mxgraph.view with parameters of type mxRectangle | |
---|---|
mxPoint |
mxPerimeter.mxPerimeterFunction.apply(mxRectangle bounds,
mxCellState edgeState,
mxCellState terminalState,
boolean isSource,
mxPoint next)
Implements a perimeter function. |
void |
mxGraph.resize(Object cell,
mxRectangle bounds)
Sets the bounds of the given cell using |
void |
mxGraph.resizeCells(Object[] cells,
mxRectangle[] boundsArray)
Sets the bounds of the given cells, cascades the resize using |
void |
mxCellState.setBoundingBox(mxRectangle boundingBox)
Sets the bounding box. |
void |
mxCellState.setLabelBounds(mxRectangle labelBounds)
Sets the label bounds. |
void |
mxGraph.setMaximumContainerSize(mxRectangle maximumContainerSize)
|
void |
mxGraph.setMaximumGraphBounds(mxRectangle maximumGraphBounds)
|
void |
mxGraph.setMinimumContainerSize(mxRectangle minimumContainerSize)
|
mxGeometry |
mxGraph.updateSwimlaneSize(Object swimlane,
mxGeometry geometry,
mxRectangle pSize)
Updates the size of the given swimlane and returns the updated geometry to be used in the model. |
|
JGraph X 0.15.0.3 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |