Serialized Form

  • Package org.jgraph

    • Class org.jgraph.JGraph

      class JGraph extends JComponent implements Serializable
      • Serialization Methods

      • Serialized Fields

        • antiAliased
          boolean antiAliased
          True if the graph is anti-aliased. Default is false. Bound property.
        • autoResizeGraph
          boolean autoResizeGraph
          True if the graph should be auto resized when cells are moved below the bottom right corner. Default is true.
        • backgroundComponent
          Component backgroundComponent
          A Component responsible for drawing the background image, if any
        • backgroundImage
          ImageIcon backgroundImage
          Holds the background image.
        • backgroundScaled
          boolean backgroundScaled
          Whether or not the background image is scaled on zooming
        • bendable
          boolean bendable
          True if the graph allows points to be modified/added/removed. Default is true.
        • cloneable
          boolean cloneable
          True if the graph allows "ctrl-drag" operations. Default is false.
        • connectable
          boolean connectable
          True if the graph allows new connections to be established. Default is true.
        • disconnectable
          boolean disconnectable
          True if the graph allows existing connections to be removed. Default is true.
        • disconnectOnMove
          boolean disconnectOnMove
          True if selected edges are disconnected from unselected vertices on move. Default is false.
        • dragEnabled
          boolean dragEnabled
          True if Drag-and-Drop should be used for move operations. Default is false due to a JDK bug.
        • dropEnabled
          boolean dropEnabled
          True if the graph accepts transfers from other components (graphs). This also affects the clipboard. Default is true.
        • edgeLabelsMovable
          boolean edgeLabelsMovable
          True if the labels on edges may be moved.
        • editable
          boolean editable
          True if the graph allows editing the value of a cell. Bound property.
        • editClickCount
          int editClickCount
          Number of clicks for editing to start. Default is 2 clicks.
        • enabled
          boolean enabled
          True if the graph allows interactions. Default is true.
        • gridColor
          Color gridColor
          The color of the grid. This color is used to draw the selection border for cells with selected children. Changes when the Look-and-Feel changes.
        • gridEnabled
          boolean gridEnabled
          True if the snap method should be active (snap to grid).
        • gridMode
          int gridMode
          The style of the grid. Use one of the _GRID_MODE constants.
        • gridSize
          double gridSize
          The size of the grid in points. Default is 10. Bound property.
        • gridVisible
          boolean gridVisible
          True if the grid is visible. Bound property.
        • groupsEditable
          boolean groupsEditable
          True if the graph allows editing of non-leaf cells. Bound property.
        • handleColor
          Color handleColor
          Color of the handles and locked handles. Changes when the Look-and-Feel changes. This color is also used to draw the selection border of focused cells.
        • handleSize
          int handleSize
          Size of a handle. Default is 3 pixels.
        • highlightColor
          Color highlightColor
          Highlight Color. This color is used to draw the selection border of unfocused cells. Changes when the Look-and-Feel changes.
        • invokesStopCellEditing
          boolean invokesStopCellEditing
          If true, when editing is to be stopped by way of selection changing, data in graph changing or other means stopCellEditing is invoked, and changes are saved. If false, cancelCellEditing is invoked, and changes are discarded.
        • isJumpToDefaultPort
          boolean isJumpToDefaultPort
          True if getPortViewAt should return the default port if no other port is found. Default is false.
        • isMoveIntoGroups
          boolean isMoveIntoGroups
          Specifies if cells should be added to a group when moved over the group's area. Default is false.
        • isMoveOutOfGroups
          boolean isMoveOutOfGroups
          Specifies if cells should be removed from groups when removed from the group area. Default is false.
        • lastBufferAllocated
          boolean lastBufferAllocated
          Stores whether the last double buffer allocation worked or not
        • lockedHandleColor
          Color lockedHandleColor
          Color of the handles and locked handles. Changes when the Look-and-Feel changes. This color is also used to draw the selection border of focused cells.
        • marqueeColor
          Color marqueeColor
          Color of the marquee. Changes when the Look-and-Feel changes.
        • minimumMove
          int minimumMove
          Minimum amount of pixels to start a move transaction. Default is 5.
        • moveable
          boolean moveable
          True if the graph allows move operations. Default is true.
        • moveBelowZero
          boolean moveBelowZero
          True if the graph allows to move cells below zero.
        • moveBeyondGraphBounds
          boolean moveBeyondGraphBounds
          True if the graph allows to move cells beyond the graph bounds
        • portsOnTop
          boolean portsOnTop
          True if port are painted above all other cells.
        • portsScaled
          boolean portsScaled
          True if the ports are scaled. Bound property.
        • portsVisible
          boolean portsVisible
          True if the ports are visible. Bound property.
        • previewInvalidNullPorts
          boolean previewInvalidNullPorts
          True if the graph allows invalid null ports during previews (aka flip back edges). Default is true.
        • scale
          double scale
          Scale of the graph. Default is 1. Bound property.
        • selectionEnabled
          boolean selectionEnabled
          True if the graph allows selection of cells. Note: You must also disable selectNewCells if you disable this. Bound property.
        • sizeable
          boolean sizeable
          True if the graph allows cells to be resized. Default is true.
        • tolerance
          int tolerance
          Maximum distance between a cell and the mousepointer. Default is 4.
        • volatileOffscreen
          boolean volatileOffscreen
          Whether or not to try to use a volatile offscreen buffer for double buffering. Volatile
        • xorEnabled
          boolean xorEnabled
          True if the graph accepts transfers from other components (graphs). This also affects the clipboard. Default is true.
    • Class org.jgraph.JGraph.EmptySelectionModel

      class EmptySelectionModel extends DefaultGraphSelectionModel implements Serializable
    • Class org.jgraph.JGraph.GraphSelectionRedirector

      class GraphSelectionRedirector extends Object implements Serializable
  • Package org.jgraph.event

  • Package org.jgraph.graph

  • Package org.jgraph.plaf.basic

  • Package org.jgraph.util