java.lang.Object
org.jhotdraw8.draw.inspector.AbstractInspector<DrawingView>
org.jhotdraw8.draw.inspector.AbstractDrawingInspector
org.jhotdraw8.draw.inspector.LayersInspector
- All Implemented Interfaces:
Inspector<DrawingView>
FXML Controller class
- Author:
- Werner Randelshofer
-
Property Summary
Properties inherited from class org.jhotdraw8.draw.inspector.AbstractInspector
showing, subject -
Field Summary
Fields inherited from class org.jhotdraw8.draw.inspector.AbstractDrawingInspector
drawing, drawingModel, undoHelperFields inherited from class org.jhotdraw8.draw.inspector.AbstractInspector
showing, subjectFields inherited from interface org.jhotdraw8.draw.inspector.Inspector
SHOWING_PROPERTY, SUBJECT_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionLayersInspector(URL fxmlUrl) LayersInspector(URL fxmlUrl, Supplier<Layer> layerFactory) LayersInspector(Supplier<Layer> layerFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreateCell(javafx.scene.control.ListView<Figure> listView) javafx.scene.control.ListView<Figure> javafx.scene.NodegetNode()protected voidmoveSelectedFiguresFromToLayer(Layer from, Layer to) protected voidonDrawingChanged(@Nullable javafx.beans.value.ObservableValue<? extends Drawing> observable, @Nullable Drawing oldValue, @Nullable Drawing newValue) Must be implemented by subclasses.protected voidonDrawingModelChanged(javafx.beans.value.ObservableValue<? extends DrawingModel> observable, @Nullable DrawingModel oldValue, @Nullable DrawingModel newValue) Can be overriden by subclasses.protected voidonDrawingViewChanged(javafx.beans.value.ObservableValue<? extends DrawingView> observable, @Nullable DrawingView oldValue, @Nullable DrawingView newValue) Methods inherited from class org.jhotdraw8.draw.inspector.AbstractDrawingInspector
forwardUndoableEditEvent, getDrawing, getDrawingModel, getModel, getUndoHelperMethods 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
getSubject, isShowing, setShowing, setSubject
-
Constructor Details
-
LayersInspector
public LayersInspector() -
LayersInspector
-
LayersInspector
-
LayersInspector
-
-
Method Details
-
createCell
-
onDrawingViewChanged
protected void onDrawingViewChanged(javafx.beans.value.ObservableValue<? extends DrawingView> observable, @Nullable DrawingView oldValue, @Nullable DrawingView newValue) - Overrides:
onDrawingViewChangedin classAbstractDrawingInspector
-
onDrawingChanged
protected void onDrawingChanged(@Nullable javafx.beans.value.ObservableValue<? extends Drawing> observable, @Nullable Drawing oldValue, @Nullable Drawing newValue) Description copied from class:AbstractDrawingInspectorMust be implemented by subclasses.- Specified by:
onDrawingChangedin classAbstractDrawingInspector- Parameters:
observable-oldValue- the old drawingnewValue- the new drawing
-
getListView
-
onDrawingModelChanged
protected void onDrawingModelChanged(javafx.beans.value.ObservableValue<? extends DrawingModel> observable, @Nullable DrawingModel oldValue, @Nullable DrawingModel newValue) Description copied from class:AbstractDrawingInspectorCan be overriden by subclasses. This implementation is empty.- Overrides:
onDrawingModelChangedin classAbstractDrawingInspector- Parameters:
observable-oldValue- the old drawing modelnewValue- the new drawing model
-
moveSelectedFiguresFromToLayer
-
getNode
public javafx.scene.Node getNode()
-