public class DefaultOverlayView extends AbstractDataView implements OverlayView
Overlay, for use with a ImageDisplay.| Constructor and Description |
|---|
DefaultOverlayView() |
| Modifier and Type | Method and Description |
|---|---|
Overlay |
getData()
Gets the
Data represented by this view. |
int |
getPreferredHeight()
Gets the view's natural height in pixels.
|
int |
getPreferredWidth()
Gets the view's natural width in pixels.
|
boolean |
isCompatible(Data data)
Gets whether this view is compatible with the given
Data. |
void |
rebuild()
Recreates the view.
|
void |
update()
Updates and redraws the view onscreen.
|
bck, dispose, fwd, getDoublePosition, getFloatPosition, getIntPosition, getIntPosition, getLongPosition, getLongPosition, getPlanePosition, initialize, isSelected, localize, localize, localize, localize, move, move, move, move, move, numDimensions, publish, setPosition, setPosition, setPosition, setPosition, setPosition, setPosition, setSelectedcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, getPlanePosition, initialize, isSelected, setSelectedgetIntPosition, getLongPosition, setPositiongetDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPointlocalize, localize, localize, positionAsDoubleArray, positionAsRealPointnumDimensionsbck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPositioncontext, getContext, setContextpublic boolean isCompatible(Data data)
DataViewData.isCompatible in interface DataViewpublic Overlay getData()
DataViewData represented by this view.getData in interface DataViewgetData in interface OverlayViewgetData in class AbstractDataViewpublic int getPreferredWidth()
DataViewgetPreferredWidth in interface DataViewpublic int getPreferredHeight()
DataViewgetPreferredHeight in interface DataViewpublic void update()
DataViewCopyright © 2014–2022 ImageJ. All rights reserved.