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, setSelected
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose, getPlanePosition, initialize, isSelected, setSelected
getIntPosition, getLongPosition, setPosition
getDoublePosition, getFloatPosition, getIntPosition, getLongPosition, localize, localize, localize, positionAsLongArray, positionAsPoint
localize, localize, localize, positionAsDoubleArray, positionAsRealPoint
numDimensions
bck, fwd, move, move, move, move, move, setPosition, setPosition, setPosition, setPosition, setPosition
context, getContext, setContext
public boolean isCompatible(Data data)
DataView
Data
.isCompatible
in interface DataView
public Overlay getData()
DataView
Data
represented by this view.getData
in interface DataView
getData
in interface OverlayView
getData
in class AbstractDataView
public int getPreferredWidth()
DataView
getPreferredWidth
in interface DataView
public int getPreferredHeight()
DataView
getPreferredHeight
in interface DataView
public void update()
DataView
Copyright © 2014–2022 ImageJ. All rights reserved.