📄 colorramp.html
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gui/swing/image/ColorRamp.html#addNotify()">addNotify</A></B>()</CODE><BR> Notifies this component that it now has a parent component. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../../org/geotools/axis/Graduation.html" title="interface in org.geotools.axis">Graduation</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gui/swing/image/ColorRamp.html#createGraduation(org.geotools.axis.Graduation, org.opengis.coverage.SampleDimension, double, double)">createGraduation</A></B>(<A HREF="../../../../../org/geotools/axis/Graduation.html" title="interface in org.geotools.axis">Graduation</A> reuse, SampleDimension band, double minimum, double maximum)</CODE><BR> Returns a graduation for the specified sample dimension, minimum and maximum values. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gui/swing/image/ColorRamp.html#getColors()">getColors</A></B>()</CODE><BR> Returns the colors painted by this .</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../org/geotools/axis/Graduation.html" title="interface in org.geotools.axis">Graduation</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gui/swing/image/ColorRamp.html#getGraduation()">getGraduation</A></B>()</CODE><BR> Returns the graduation to paint over colors. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gui/swing/image/ColorRamp.html#getOrientation()">getOrientation</A></B>()</CODE><BR> Returns the component's orientation (horizontal or vertical). </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gui/swing/image/ColorRamp.html#isLabelVisibles()">isLabelVisibles</A></B>()</CODE><BR> Tests if graduation labels are paint on top of the colors ramp. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gui/swing/image/ColorRamp.html#removeNotify()">removeNotify</A></B>()</CODE><BR> Notifies this component that it no longer has a parent component. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gui/swing/image/ColorRamp.html#setColors(java.awt.Color[])">setColors</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Color.html" title="class or interface in java.awt">Color</A>[] colors)</CODE><BR> Sets the colors to paint. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/gui/swing/image/ColorRamp.html#setColors(org.opengis.coverage.Coverage)">setColors</A></B>(Coverage coverage)</CODE><BR> Sets the graduation and the colors from a coverage. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -