class HistogramWidget extends FrameLayoutWidget implements View.OnTouchListener, View.OnClickListener |
Package: | dji.ux.widget |
Inherits From: | FrameLayoutWidget implements View.OnTouchListener, View.OnClickListener |
Widget to display histogram chart.
|
Package: | dji.ux.widget |
Line color of the histogram.
int | An int value of histogram line color. |
void setHistogramLineColor(@ColorInt int histogramLineColor) |
Package: | dji.ux.widget |
Set line color of the histogram.
@ColorInt int histogramLineColor | An int value of histogram line color. |
|
Package: | dji.ux.widget |
Fill color of the histogram.
int | An int value of histogram fill color. |
void setHistogramFillColor(@ColorInt int histogramFillColor) |
Package: | dji.ux.widget |
Set fill color of the histogram.
@ColorInt int histogramFillColor | An int value of the histogram fill color. |
|
Package: | dji.ux.widget |
Grid color of the histogram.
int | An int value of the histogram grid color. |
void setHistogramGridColor(@ColorInt int histogramGridColor) |
Package: | dji.ux.widget |
Set grid color of the histogram.
@ColorInt int histogramGridColor | An int value of the histogram grid color. |
|
Package: | dji.ux.widget |
Background color of the histogram.
int | An int value of the histogram background color. |
void setHistogramBackgroundColor(@ColorInt int histogramBackgroundColor) |
Package: | dji.ux.widget |
Set background color of the histogram.
@ColorInt int histogramBackgroundColor | An int value of the histogram background color. |
boolean shouldDrawGrid() |
Package: | dji.ux.widget |
Return true
if grid needs to be drawn.
boolean | A boolean value to check if grid needs to be drawn. |
void setShouldDrawGrid(boolean shouldDrawGrid) |
Package: | dji.ux.widget |
Determine whether grid needs to be drawn.
boolean shouldDrawGrid | true if grid needs to be drawn. |
boolean shouldDrawCubic() |
Package: | dji.ux.widget |
Return true
if histogram should be drawn in cubic mode.
boolean | A boolean value to check if cubic needs to be drawn. |
void setShouldDrawCubic(boolean shouldDrawCubic) |
Package: | dji.ux.widget |
Determine whether cubic needs to be drawn.
boolean shouldDrawCubic | true if cubic needs to be drawn. |
boolean shouldShowCloseButton() |
Package: | dji.ux.widget |
Return true
if histogram should show the close button.
boolean | A boolean value to check if histogram needs to show the close button. |
void setShouldShowCloseButton(boolean shouldShowCloseButton) |
Package: | dji.ux.widget |
Determine whether histogram should show the close button.
boolean shouldShowCloseButton | true if histogram should show the close button. |