Class KennLine.SwingRep

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
KennLine

protected class KennLine.SwingRep extends JPanel
Last graphic experiments are VERY OLD and in metatools/mvc/SwingBoxAndLineView (currently not in make) .. called by .. /home/lepper/applics/src/eu/bandm/bpm/bpmn/base/SwingView.java (evtl auch in /home/lepper/applics/src/eu/bandm/bpm/bpmn/test/Test.java ) was ist mit /home/lepper/applics/src/eu/bandm/tools/textutils/DtdViewer.java ??
See Also:
  • Field Details

  • Constructor Details

    • SwingRep

      public SwingRep(Dimension dim)
    • SwingRep

      public SwingRep()
  • Method Details

    • addToXCache

      void addToXCache(KennLine.Anchor anchor)
      Cache for quickly finding an anchor by device coordinates. Must be called whenever an anchor moves or is newly inserted
        
      x / x -----] -----] ^ ^ ^
    • anchorsChanged

      void anchorsChanged()
    • makeXCache

      public void makeXCache()
      DIMENSTION must be set! constructor is too early FIXME must be called after a resize.
    • paintComponent

      public void paintComponent(Graphics xgr)
      Overrides:
      paintComponent in class JComponent
    • snapToAnchor

      void snapToAnchor(MouseEvent e)
    • getToolTipText

      @Opt public @Opt String getToolTipText(MouseEvent e)
      Overrides:
      getToolTipText in class JComponent
    • showModeDialog

      void showModeDialog()