Documentation of 'com.mxgraph.swing.view.mxCellStatePreview' Java class
mxCellStatePreview
com.mxgraph.swing.view

Class mxCellStatePreview



  • public class mxCellStatePreview
    extends java.lang.Object
    Represents the current state of a cell in a given graph view.
    • Constructor Detail

      • mxCellStatePreview

        public mxCellStatePreview(mxGraphComponent graphComponent,
                                  boolean cloned)
        Constructs a new state preview. The paint handler to invoke the paint method must be installed elsewhere.
    • Method Detail

      • isCloned

        public boolean isCloned()
      • setCloned

        public void setCloned(boolean value)
      • isEmpty

        public boolean isEmpty()
      • getCount

        public int getCount()
      • setOpacity

        public void setOpacity(float value)
      • getOpacity

        public float getOpacity()
      • moveState

        public mxPoint moveState(mxCellState state,
                                 double dx,
                                 double dy,
                                 boolean add,
                                 boolean includeEdges)
      • show

        public mxRectangle show()
        Returns a dirty rectangle to be repainted in mxGraphControl.
      • restore

        public void restore(java.util.List<mxCellState> snapshot)
      • paint

        public void paint(java.awt.Graphics g)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.