Class DrawingEditorPreferencesHandler

java.lang.Object
org.jhotdraw8.draw.DrawingEditorPreferencesHandler

public class DrawingEditorPreferencesHandler extends Object
Handles preferences for a drawing editor.
  • Constructor Details

    • DrawingEditorPreferencesHandler

      public DrawingEditorPreferencesHandler(DrawingEditor editor, Preferences prefs)
      Creates a new handler for the specified editor. All preferences have the prefix "DrawingEditor.".
      Parameters:
      editor - the editor
      prefs - the preferences
    • DrawingEditorPreferencesHandler

      public DrawingEditorPreferencesHandler(DrawingEditor editor, Preferences prefs, String prefix)
      Creates a new handler for the specified editor. All preferences have the specified prefix.
      Parameters:
      editor - the editor
      prefs - the preferences
      prefix - the prefix