java.lang.Object
org.jhotdraw8.draw.AbstractDrawingEditor
- All Implemented Interfaces:
DrawingEditor
- Direct Known Subclasses:
SimpleDrawingEditor
-
Property Summary
PropertiesTypePropertyDescription@NonNull javafx.beans.property.ObjectProperty<DrawingView> The currently active drawing view.The currently active tool.@NonNull javafx.beans.property.ObjectProperty<HandleType> The handle type used for marking the anchor of a selection.The default tool.@NonNull javafx.beans.property.SetProperty<DrawingView> The drawing views associated with this editor.Holds the color of the handles.@NonNull javafx.beans.property.DoublePropertyHolds the size (width and height) of a handle.@NonNull javafx.beans.property.DoublePropertyHolds the stroke width of a handle.The handle type for single selection.Holds the curent help text associated with this drawing view.@NonNull javafx.beans.property.ObjectProperty<HandleType> The handle type used for marking the lead of a selection.The handle type for multiple selection.@NonNull javafx.beans.property.DoublePropertyHolds the tolerance for finding figures.The undo manager is responsible for providing undo/redo functionality. -
Field Summary
Fields inherited from interface org.jhotdraw8.draw.DrawingEditor
ACTIVE_DRAWING_VIEW_PROPERTY, ACTIVE_TOOL_PROPERTY, DEFAULT_TOOL_PROPERTY, DRAWING_VIEWS_PROPERTY, HANDLE_COLOR_PROPERTY, HANDLE_SIZE_PROPERTY, HANDLE_STROKE_WDITH_PROPERTY, HANDLE_TYPE_PROPERTY, HELP_TEXT_PROPERTY, MULTI_HANDLE_TYPE_PROPERTY, TOLERANCE_PROPERTY, UNDO_MANAGER_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull javafx.beans.property.ObjectProperty<DrawingView> The currently active drawing view.The currently active tool.@NonNull javafx.beans.property.ObjectProperty<HandleType> The handle type used for marking the anchor of a selection.The default tool.@NonNull javafx.beans.property.SetProperty<DrawingView> The drawing views associated with this editor.Holds the color of the handles.@NonNull javafx.beans.property.DoublePropertyHolds the size (width and height) of a handle.@NonNull javafx.beans.property.DoublePropertyHolds the stroke width of a handle.The handle type for single selection.Holds the curent help text associated with this drawing view.@NonNull javafx.beans.property.ObjectProperty<HandleType> The handle type used for marking the lead of a selection.The handle type for multiple selection.@NonNull javafx.beans.property.DoublePropertyHolds the tolerance for finding figures.The undo manager is responsible for providing undo/redo functionality.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.draw.DrawingEditor
addDrawingView, getActiveDrawingView, getActiveTool, getAnchorHandleType, getDefaultTool, getDrawingViews, getHandleColor, getHandleSize, getHandleStrokeWidth, getHandleType, getHelpText, getLeadHandleType, getMultiHandleType, getTolerance, getUndoManager, recreateHandles, removeDrawingView, setActiveDrawingView, setActiveTool, setAnchorHandleType, setDefaultTool, setHandleColor, setHandleSize, setHandleStrokeWidth, setHandleType, setHelpText, setLeadHandleType, setMultiHandleType, setTolerance, setUndoManager
-
Property Details
-
activeDrawingView
- Specified by:
activeDrawingViewPropertyin interfaceDrawingEditor- Returns:
- the property
- See Also:
-
activeTool
- Specified by:
activeToolPropertyin interfaceDrawingEditor- Returns:
- the property
- See Also:
-
anchorHandleType
- Specified by:
anchorHandleTypePropertyin interfaceDrawingEditor- Returns:
- the handle key
- See Also:
-
defaultTool
- Specified by:
defaultToolPropertyin interfaceDrawingEditor- Returns:
- the property
- See Also:
-
drawingViews
- Specified by:
drawingViewsPropertyin interfaceDrawingEditor- Returns:
- the property
- See Also:
-
handleColor
- Specified by:
handleColorPropertyin interfaceDrawingEditor- Returns:
- color of handle
- See Also:
-
handleSize
- Specified by:
handleSizePropertyin interfaceDrawingEditor- Returns:
- size of handle
- See Also:
-
handleStrokeWidth
- Specified by:
handleStrokeWidthPropertyin interfaceDrawingEditor- Returns:
- size of handle
- See Also:
-
handleType
- Specified by:
handleTypePropertyin interfaceDrawingEditor- Returns:
- the handle key
- See Also:
-
helpText
- Specified by:
helpTextPropertyin interfaceDrawingEditor- Returns:
- the help text property.
- See Also:
-
leadHandleType
- Specified by:
leadHandleTypePropertyin interfaceDrawingEditor- Returns:
- the handle key
- See Also:
-
multiHandleType
- Specified by:
multiHandleTypePropertyin interfaceDrawingEditor- Returns:
- the handle key
- See Also:
-
tolerance
- Specified by:
tolerancePropertyin interfaceDrawingEditor- See Also:
-
undoManager
- Specified by:
undoManagerPropertyin interfaceDrawingEditor- Returns:
- the undo manager
- See Also:
-
-
Constructor Details
-
AbstractDrawingEditor
public AbstractDrawingEditor()
-
-
Method Details
-
activeDrawingViewProperty
Description copied from interface:DrawingEditorThe currently active drawing view.- Specified by:
activeDrawingViewPropertyin interfaceDrawingEditor- Returns:
- the
activeDrawingViewproperty
-
activeToolProperty
Description copied from interface:DrawingEditorThe currently active tool.- Specified by:
activeToolPropertyin interfaceDrawingEditor- Returns:
- the
activeToolproperty
-
anchorHandleTypeProperty
Description copied from interface:DrawingEditorThe handle type used for marking the anchor of a selection.- Specified by:
anchorHandleTypePropertyin interfaceDrawingEditor- Returns:
- the
anchorHandleTypeproperty
-
defaultToolProperty
Description copied from interface:DrawingEditorThe default tool. When the value is not null, the default tool is made the active tool whenever another tool firesToolEvent.TOOL_DONE.- Specified by:
defaultToolPropertyin interfaceDrawingEditor- Returns:
- the
defaultToolproperty
-
drawingViewsProperty
Description copied from interface:DrawingEditorThe drawing views associated with this editor.- Specified by:
drawingViewsPropertyin interfaceDrawingEditor- Returns:
- the
drawingViewsproperty
-
handleColorProperty
Description copied from interface:DrawingEditorHolds the color of the handles.- Specified by:
handleColorPropertyin interfaceDrawingEditor- Returns:
- the
handleColorproperty
-
handleSizeProperty
Description copied from interface:DrawingEditorHolds the size (width and height) of a handle.- Specified by:
handleSizePropertyin interfaceDrawingEditor- Returns:
- the
handleSizeproperty
-
handleStrokeWidthProperty
Description copied from interface:DrawingEditorHolds the stroke width of a handle.- Specified by:
handleStrokeWidthPropertyin interfaceDrawingEditor- Returns:
- the
handleStrokeWidthproperty
-
handleTypeProperty
Description copied from interface:DrawingEditorThe handle type for single selection.- Specified by:
handleTypePropertyin interfaceDrawingEditor- Returns:
- the
handleTypeproperty
-
helpTextProperty
Description copied from interface:DrawingEditorHolds the curent help text associated with this drawing view.- Specified by:
helpTextPropertyin interfaceDrawingEditor- Returns:
- the
helpTextproperty
-
leadHandleTypeProperty
Description copied from interface:DrawingEditorThe handle type used for marking the lead of a selection.- Specified by:
leadHandleTypePropertyin interfaceDrawingEditor- Returns:
- the
leadHandleTypeproperty
-
multiHandleTypeProperty
Description copied from interface:DrawingEditorThe handle type for multiple selection.- Specified by:
multiHandleTypePropertyin interfaceDrawingEditor- Returns:
- the
multiHandleTypeproperty
-
toleranceProperty
Description copied from interface:DrawingEditorHolds the tolerance for finding figures.- Specified by:
tolerancePropertyin interfaceDrawingEditor- Returns:
- the
toleranceproperty
-
undoManagerProperty
Description copied from interface:DrawingEditorThe undo manager is responsible for providing undo/redo functionality.- Specified by:
undoManagerPropertyin interfaceDrawingEditor- Returns:
- the
undoManagerproperty
-