Package com.mxgraph.util
package com.mxgraph.util
This package provides utility classes such as mxConstants, mxUtils, mxPoint
and mxRectangle as well as all classes for custom events and the undo
history.
-
ClassDescriptionA very fast and memory efficient class to encode and decode to and from BASE64 in full accordance with RFC 2045.
On Windows XP sp1 with 1.4.2_04 and later ;), this encoder and decoder is about 10 times faster on small arrays (10 - 1000 bytes) and 2-3 times as fast on larger arrays (10000 - 1000000 bytes) compared tosun.misc.Encoder()/Decoder()
.
On byte arrays the encoder is about 20% faster than Jakarta Commons Base64 Codec for encode and about 50% faster for decoding large arrays.Contains all global constants.Contains various DOM API helper methods for use with mxGraph.Contains all global constants.Base class for objects that dispatch named events.Base class for objects that dispatch named events.Defines the requirements for an object that listens to an event source.Contains various helper methods for use with mxGraph.Implements a 2-dimensional point with double precision coordinates.Maps from keys to base64 encoded images or file locations.Implements a line with double precision coordinates.Implements a 2-dimensional point with double precision coordinates.Implements a 2-dimensional rectangle with double precision coordinates.One dimension of a spline curveContains various style helper methods for use with mxGraph.Implements a 2-dimensional rectangle with double precision coordinates.Defines the requirements for an undoable change.Implements an undo history.Contains various helper methods for use with mxGraph.Contains various XML helper methods for use with mxGraph.