MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getObjectFlags

Method getObjectFlags

ij/src/main/java/ij/gui/Plot.java:1349–1355  ·  view source on GitHub ↗

Gets the flags of the xLabel ('x'), yLabel('y') or the legend ('l'). Returns -1 if the given PlotObject does not exist

(char c)

Source from the content-addressed store, hash-verified

1347 /** Gets the flags of the xLabel ('x'), yLabel('y') or the legend ('l').
1348 * Returns -1 if the given PlotObject does not exist */
1349 public int getObjectFlags(char c) {
1350 PlotObject plotObject = pp.getPlotObject(c);
1351 if (plotObject != null)
1352 return plotObject.flags;
1353 else
1354 return -1;
1355 }
1356
1357 /** Get the x coordinates of the data set passed with the constructor (if not null)
1358 * or otherwise of the data set of the first 'addPoints'. Returns null if neither exists */

Callers 2

setupDialogMethod · 0.80
recordMethod · 0.80

Calls 1

getPlotObjectMethod · 0.80

Tested by

no test coverage detected