📄 operationtreebrowser.html
字号:
</FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#nested_classes_inherited_from_class_javax.swing.JPanel">NESTED</A> | <A HREF="#fields_inherited_from_class_JComponent">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.geotools.gui.swing.image</FONT><BR>Class OperationTreeBrowser</H2><PRE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Component.html" title="class or interface in java.awt">Component</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Container.html" title="class or interface in java.awt">Container</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/JComponent.html" title="class or interface in javax.swing">JComponent</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/JPanel.html" title="class or interface in javax.swing">JPanel</A> <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>OperationTreeBrowser</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/accessibility/Accessible.html" title="class or interface in javax.accessibility">Accessible</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ImageObserver.html" title="class or interface in java.awt.image">ImageObserver</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/MenuContainer.html" title="class or interface in java.awt">MenuContainer</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD></DL><DL><DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/geotools/gui/swing/OperationTreeBrowser.html" title="class in org.geotools.gui.swing">OperationTreeBrowser</A></DD></DL><HR><DL><DT>public class <B>OperationTreeBrowser</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/JPanel.html" title="class or interface in javax.swing">JPanel</A></DL><P>Display a chain of images as a tree. It may be a chain of <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html" title="class or interface in java.awt.image"><CODE>RenderedImage</CODE></A> or a chain of <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/renderable/RenderableImage.html" title="class or interface in java.awt.image.renderable"><CODE>RenderableImage</CODE></A>. Those images are often the result of some operation (i.e. are actually instances of <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/RenderedOp.html" title="class or interface in javax.media.jai"><CODE>RenderedOp</CODE></A> or <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/RenderableOp.html" title="class or interface in javax.media.jai"><CODE>RenderableOp</CODE></A>). The image given to the constructor is the root of the tree. The root contains the following children nodes: <ul> <li>One node for each <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html#getSources()" title="class or interface in java.awt.image">source image</A>, if any.</li> <li>One node for each <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/OperationNode.html#getParameterBlock()" title="class or interface in javax.media.jai">image parameter</A>, if any.</li> </ul> Each source image can have its own source and parameters. In an analogy to a file system, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/RenderedImage.html#getSources()" title="class or interface in java.awt.image">source images</A> are like directories and <A HREF="http://java.sun.com/products/java-media/jai/forDevelopers/jai-apidocs/javax/media/jai/OperationNode.html#getParameterBlock()" title="class or interface in javax.media.jai">image parameters</A> are like files. When a tree node is selected in the left pane, the content of the right pane is adjusted accordingly. If the node is an image, a "preview" tab is show together with an "information" tab. Informations include the <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/ColorModel.html" title="class or interface in java.awt.image">color model</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/image/SampleModel.html" title="class or interface in java.awt.image">sample model</A>, data type, etc. If the selected tree node is a parameter, then the right pane show the parameter value in <A HREF="../../../../../org/geotools/gui/swing/ParameterEditor.html" title="class in org.geotools.gui.swing">some widget</A> appropriate for the parameter type. <p> </p> <p align="center"><img src="doc-files/OperationTreeBrowser.png"></p> <p> </p><P><P><DL><DT><B>Since:</B></DT> <DD>2.3</DD><DT><B>Author:</B></DT> <DD>Martin Desruisseaux, Lionel Flahaut</DD><DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/gui/swing/image/ImageProperties.html" title="class in org.geotools.gui.swing.image"><CODE>ImageProperties</CODE></A>, <A HREF="../../../../../org/geotools/gui/swing/ParameterEditor.html" title="class in org.geotools.gui.swing"><CODE>ParameterEditor</CODE></A>, <A HREF="../../../../../org/geotools/gui/swing/image/RegisteredOperationBrowser.html" title="class in org.geotools.gui.swing.image"><CODE>RegisteredOperationBrowser</CODE></A>, <A HREF="../../../../../serialized-form.html#org.geotools.gui.swing.image.OperationTreeBrowser">Serialized Form</A><DT><B>Module:</B></DT><DD><CODE><B>ext/widgets-swing</B></CODE> (<A HREF="http://maven.geotools.fr/repository/org/geotools/gt2-widgets-swing/"><CODE>gt2-widgets-swing.jar</CODE></A>) (<A HREF="http://maven.geotools.fr/reports/widgets-swing/index.html">Maven report</A>) (<A HREF="http://svn.geotools.org/geotools/tags/2.3.2/ext/widgets-swing/src/org/geotools/gui/swing/image/OperationTreeBrowser.java">SVN head</A>)</DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -