java.lang.Object
org.jhotdraw8.draw.inspector.AbstractInspector<DrawingView>
org.jhotdraw8.draw.inspector.AbstractSelectionInspector
- All Implemented Interfaces:
Inspector<DrawingView>
- Direct Known Subclasses:
StyleClassesInspector
AbstractSelectionInspector.
- Author:
- Werner Randelshofer
-
Property Summary
Properties inherited from class org.jhotdraw8.draw.inspector.AbstractInspector
showing, subject -
Field Summary
FieldsFields inherited from class org.jhotdraw8.draw.inspector.AbstractInspector
showing, subjectFields inherited from interface org.jhotdraw8.draw.inspector.Inspector
SHOWING_PROPERTY, SUBJECT_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected @Nullable DrawingModelgetModel()protected voidonDrawingViewChanged(javafx.beans.value.ObservableValue<? extends DrawingView> observable, @Nullable DrawingView oldValue, @Nullable DrawingView newValue) protected abstract voidonSelectionChanged(Set<Figure> newValue) Must be implemented by subclasses.Methods inherited from class org.jhotdraw8.draw.inspector.AbstractInspector
showingProperty, subjectPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.draw.inspector.Inspector
getNode, getSubject, isShowing, setShowing, setSubject
-
Field Details
-
undoHelper
-
-
Constructor Details
-
AbstractSelectionInspector
public AbstractSelectionInspector()
-
-
Method Details
-
getDrawing
-
getModel
-
onDrawingViewChanged
protected void onDrawingViewChanged(javafx.beans.value.ObservableValue<? extends DrawingView> observable, @Nullable DrawingView oldValue, @Nullable DrawingView newValue) -
getSelectedFigures
-
onSelectionChanged
Must be implemented by subclasses.- Parameters:
newValue- the new selection
-
forwardUndoableEdit
-