|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.ZoneContent
public class ZoneContent
Aggregates a list of items describing what appears in one zone of a Gang.
Constructor Summary | |
---|---|
ZoneContent(PlotLayer[] layers,
Icon legend,
float[] legPos,
String title)
Constructor. |
Method Summary | |
---|---|
PlotLayer[] |
getLayers()
Returns plot layers. |
Icon |
getLegend()
Returns legend icon. |
float[] |
getLegendPosition()
Returns legend position if internal legend is required. |
String |
getTitle()
Returns plot title if required. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZoneContent(PlotLayer[] layers, Icon legend, float[] legPos, String title)
layers
- plot layers to be paintedlegend
- legend icon if required, or nulllegPos
- legend position if intenal legend is required;
2-element (x,y) array, each element in range 0-1title
- title text, or nullMethod Detail |
---|
public PlotLayer[] getLayers()
public Icon getLegend()
public float[] getLegendPosition()
public String getTitle()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |