java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
de.uni_trier.wi2.procake.gui.objecteditor.nestworkfloweditor.editor.EditorPalette
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class EditorPalette extends JPanel
See Also:
  • Field Details

    • selectedEntry

      protected JLabel selectedEntry
    • eventSource

      protected com.mxgraph.util.mxEventSource eventSource
  • Constructor Details

    • EditorPalette

      public EditorPalette()
  • Method Details

    • clearSelection

      public void clearSelection()
    • setSelectionEntry

      public void setSelectionEntry(JLabel entry, com.mxgraph.swing.util.mxGraphTransferable t)
    • setPreferredWidth

      public void setPreferredWidth(int width)
    • addEdgeTemplate

      public void addEdgeTemplate(String name, ImageIcon icon, String style, int width, int height, Object value)
      Parameters:
      name -
      icon -
      style -
      width -
      height -
      value -
    • addTemplate

      public void addTemplate(String name, ImageIcon icon, String style, int width, int height, Object value)
      Parameters:
      name -
      icon -
      style -
      width -
      height -
      value -
    • addTemplate

      public void addTemplate(String name, ImageIcon icon, com.mxgraph.model.mxCell cell)
      Parameters:
      name -
      icon -
      cell -
    • addListener

      public void addListener(String eventName, com.mxgraph.util.mxEventSource.mxIEventListener listener)
      Parameters:
      eventName -
      listener -
      See Also:
      • mxEventSource.addListener(String, mxIEventListener)
    • isEventsEnabled

      public boolean isEventsEnabled()
      Returns:
      whether or not event are enabled for this palette
      See Also:
      • mxEventSource.isEventsEnabled()
    • setEventsEnabled

      public void setEventsEnabled(boolean eventsEnabled)
      Parameters:
      eventsEnabled -
      See Also:
      • mxEventSource.setEventsEnabled(boolean)
    • removeListener

      public void removeListener(com.mxgraph.util.mxEventSource.mxIEventListener listener)
      Parameters:
      listener -
      See Also:
      • mxEventSource.removeListener(mxIEventListener)
    • removeListener

      public void removeListener(com.mxgraph.util.mxEventSource.mxIEventListener listener, String eventName)
      Parameters:
      eventName -
      listener -
      See Also:
      • mxEventSource.removeListener(mxIEventListener)