Class DisplayableAngularview
- java.lang.Object
-
- org.esa.snap.ui.product.angularview.DisplayableAngularview
-
- All Implemented Interfaces:
Angularview
public class DisplayableAngularview extends Object implements Angularview
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_SPECTRUM_NAME
static String
MIXED_UNITS
static String
NO_UNIT
static String
REMAINING_BANDS_NAME
-
Constructor Summary
Constructors Constructor Description DisplayableAngularview(String angularViewName, int symbolIndex)
DisplayableAngularview(String angularViewName, AngularBand[] angularViewBands, int symbolIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBand(AngularBand band)
Band[]
getAngularBands()
Stroke
getLineStyle()
String
getName()
Shape
getScaledShape()
Band[]
getSelectedBands()
int
getSymbolIndex()
int
getSymbolSize()
String
getUnit()
boolean
hasBands()
boolean
hasSelectedBands()
boolean
isBandSelected(int index)
boolean
isDefaultOrRemainingBandsAngularView()
boolean
isRemainingBandsAngularView()
boolean
isSelected()
void
remove(int j)
void
setBandSelected(int index, boolean selected)
void
setLineStyle(Stroke lineStyle)
void
setName(String name)
void
setSelected(boolean selected)
void
setSymbolIndex(int symbolIndex)
void
setSymbolSize(int symbolSize)
void
updateUnit()
-
-
-
Field Detail
-
NO_UNIT
public static final String NO_UNIT
- See Also:
- Constant Field Values
-
MIXED_UNITS
public static final String MIXED_UNITS
- See Also:
- Constant Field Values
-
DEFAULT_SPECTRUM_NAME
public static final String DEFAULT_SPECTRUM_NAME
- See Also:
- Constant Field Values
-
REMAINING_BANDS_NAME
public static final String REMAINING_BANDS_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DisplayableAngularview
public DisplayableAngularview(String angularViewName, int symbolIndex)
-
DisplayableAngularview
public DisplayableAngularview(String angularViewName, AngularBand[] angularViewBands, int symbolIndex)
-
-
Method Detail
-
addBand
public void addBand(AngularBand band)
-
getScaledShape
public Shape getScaledShape()
-
isDefaultOrRemainingBandsAngularView
public boolean isDefaultOrRemainingBandsAngularView()
-
isRemainingBandsAngularView
public boolean isRemainingBandsAngularView()
-
hasBands
public boolean hasBands()
- Specified by:
hasBands
in interfaceAngularview
-
hasSelectedBands
public boolean hasSelectedBands()
-
getName
public String getName()
- Specified by:
getName
in interfaceAngularview
-
setName
public void setName(String name)
-
getAngularBands
public Band[] getAngularBands()
- Specified by:
getAngularBands
in interfaceAngularview
-
getSelectedBands
public Band[] getSelectedBands()
-
setBandSelected
public void setBandSelected(int index, boolean selected)
-
isBandSelected
public boolean isBandSelected(int index)
-
getLineStyle
public Stroke getLineStyle()
-
setLineStyle
public void setLineStyle(Stroke lineStyle)
-
setSelected
public void setSelected(boolean selected)
-
isSelected
public boolean isSelected()
-
getUnit
public String getUnit()
-
getSymbolSize
public int getSymbolSize()
-
setSymbolSize
public void setSymbolSize(int symbolSize)
-
getSymbolIndex
public int getSymbolIndex()
-
setSymbolIndex
public void setSymbolIndex(int symbolIndex)
-
updateUnit
public void updateUnit()
-
remove
public void remove(int j)
-
-