Serialized Form

  • Package selector

    • Class selector.ImagePanel

      class ImagePanel extends JPanel implements Serializable
      • Serialized Fields

        • pic
          JLabel pic
          Label for drawing the image when a valid image has been set.
        • selector
          SelectionComponent selector
          Component for interactively building a selection; must be placed on top of `pic` with their upper-left corners aligned in order for coordinates within this component to match pixel locations in `pic`.
    • Class selector.SelectionComponent

      class SelectionComponent extends JComponent implements Serializable
      • Serialized Fields

        • controlPointColor
          Color controlPointColor
          The color used to draw control points for a finished selection.
        • controlPointRadius
          int controlPointRadius
          The radius of a control point, in pixels. Used both for rendering and for tolerance when selecting points with the mouse.
        • liveWireColor
          Color liveWireColor
          The color used to draw proposed segments that connect to the mouse pointer.
        • model
          SelectionModel model
          The current selection model that we are viewing and controlling.
        • mouseLocation
          Point mouseLocation
          The last observed position of the mouse pointer over this component, constrained to lie within the image area. Must not alias a Point from a MouseEvent, as those objects may be reused by future events.
        • selectedIndex
          int selectedIndex
          The index of the selection segment whose starting point is currently being interacted with, or -1 if no control point is currently being manipulated.
        • selectionPerimeterColor
          Color selectionPerimeterColor
          The color used to draw the current selection path.