
public interface FocalPlaneMapModel
extends org.lsst.ccs.gconsole.util.session.Savable
FocalPlaneMap.
When FocalPlaneMap paints itself, it calls getValue(...) methods for each cell
in order of increasing granularity (RAFT - REB - CCD - Amplifier), stopping at the first method
that returns either a non-split value (which is displayed) or null (the default value is
displayed). The default value is the value for the closest ancestor cell that is not NONE.
All methods are called on EDT.
| Modifier and Type | Method and Description |
|---|---|
void |
addFocalPlaneMapModelListener(FocalPlaneMapModelListener listener)
Adds a listener to be notified of changes in this model.
|
default String |
getTitle()
Returns the title to be displayed by
FocalPlaneMap. |
default FocalPlaneMapValue |
getValue()
Returns the default value for cells for which the value is not otherwise specified.
|
default FocalPlaneMapValue |
getValue(int raftX,
int raftY)
Returns the value for the specified RAFT cell.
|
default FocalPlaneMapValue |
getValue(int raftX,
int raftY,
int reb)
Returns the value for the specified REB cell.
|
default FocalPlaneMapValue |
getValue(int raftX,
int raftY,
int reb,
int ccdY)
Returns the value for the specified CCD cell.
|
default FocalPlaneMapValue |
getValue(int raftX,
int raftY,
int reb,
int ccdY,
int ampX,
int ampY)
Returns the value for the specified CCD cell.
|
void |
removeFocalPlaneMapModelListener(FocalPlaneMapModelListener listener)
Removes a model listener.
|
default String getTitle()
FocalPlaneMap.null is this model does not provide a title.void addFocalPlaneMapModelListener(FocalPlaneMapModelListener listener)
listener - Listener to be registered.void removeFocalPlaneMapModelListener(FocalPlaneMapModelListener listener)
listener - Listener to be removed, or null if all listeners should be removed.default FocalPlaneMapValue getValue()
getValue(...) methods overrides it for a specific display cell.
The default implementation returns EMPTY.null if the default value should be used for this raft.default FocalPlaneMapValue getValue(int raftX, int raftY)
NONE.raftX - RAFT X index.raftY - RAFT Y index.null if the default value should be used for this raft.default FocalPlaneMapValue getValue(int raftX, int raftY, int reb)
NONE.raftX - RAFT X index.raftY - RAFT Y index.reb - REB index.null if the default value should be used for this REB.default FocalPlaneMapValue getValue(int raftX, int raftY, int reb, int ccdY)
NONE.raftX - RAFT X index.raftY - RAFT Y index.reb - REB index.ccdY - CCD Y index.null if the default value should be used for this CCD.default FocalPlaneMapValue getValue(int raftX, int raftY, int reb, int ccdY, int ampX, int ampY)
null.raftX - RAFT X index.raftY - RAFT Y index.reb - REB index.ccdY - CCD Y index.ampX - Amplifier X index.ampY - Amplifier Y index.null if the default value should be used for this CCD.Copyright © 2019 LSST. All rights reserved.