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(@NonNull DrawingEditor editor, @NonNull 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(@NonNull DrawingEditor editor, @NonNull Preferences prefs, @NonNull 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