Documentation of 'org.jhotdraw.draw.event.SelectionComponentDisplayer' Java class
SelectionComponentDisplayer
org.jhotdraw.draw.event

Class SelectionComponentDisplayer

  • All Implemented Interfaces:
    java.beans.PropertyChangeListener, java.util.EventListener, FigureSelectionListener


    public class SelectionComponentDisplayer
    extends java.lang.Object
    implements java.beans.PropertyChangeListener, FigureSelectionListener
    Calls setVisible(true/false) on components, which show attributes of the drawing editor and of its views based on the current selection.

    Holds a WeakReference on the component. Automatically disposes itself if the component no longer exists.

    • Constructor Detail

      • SelectionComponentDisplayer

        public SelectionComponentDisplayer(DrawingEditor editor,
                                           javax.swing.JComponent component)
    • Method Detail

      • propertyChange

        public void propertyChange(java.beans.PropertyChangeEvent evt)
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
      • updateVisibility

        public void updateVisibility()
      • dispose

        public void dispose()
      • setMinSelectionCount

        public void setMinSelectionCount(int newValue)
      • setVisibleIfCreationTool

        public void setVisibleIfCreationTool(boolean newValue)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.