| Java API | ||
|
java.awt.FileDialog search codefetch The FileDialog class displays a dialog window from which the user can select a file.
java.awt.color.ICC_Profile search codefetch A representation of color profile data for device independent and device dependent color spaces based on the International Co...
java.awt.color.ICC_ProfileGray search codefetch A subclass of the ICC_Profile class which represents profiles which meet the following criteria: the color space type of the ...
java.awt.color.ICC_ProfileRGB search codefetch The ICC_ProfileRGB class is a subclass of the ICC_Profile class that represents profiles which meet the following criteria: T...
java.io.File search codefetch An abstract representation of file and directory pathnames.
| ||
|
javax.swing.JFileChooser.addChoosableFileFilter search codefetch
Adds a filter to the list of user choosable file filters.
javax.imageio.spi.ImageInputStreamSpi.canUseCacheFile search codefetch
Returns true if the ImageInputStream implementation associated with this service provider can optionally make use of a cache ...
javax.swing.filechooser.FileSystemView.createFileObject search codefetch
Returns a File object constructed from the given path string.
javax.swing.filechooser.FileSystemView.createFileSystemRoot search codefetch
Creates a new File object for f with correct behavior for a file system root directory.
java.io.File.createNewFile search codefetch
Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name does not yet exist....
| ||
| Most relevant API matches shown. View All. | ||
| ||
PJUI/com/marinilli/b1/ac/pres/proto/JProtoTree.java (307 lines) 18 */ 19 public class JProtoTree extends JTree implements MouseListener, 20 TreeSelectionListener {Additional matches viewable in cache of PJUI/com/marinilli/b1/ac/pres/proto/JProtoTree.java. PJUI/com/marinilli/b1/c5/templates/JProtoTree.java (310 lines) 20 */ 21 public class JProtoTree extends JTree implements MouseListener, TreeSelectionListener { 22 private final static int CAPTION = 0;Additional matches viewable in cache of PJUI/com/marinilli/b1/c5/templates/JProtoTree.java. PJUI/com/marinilli/b1/c3/spareparts/SparePartViewer.java (92 lines) 16 public class SparePartViewer extends JFrame{ 17 JTree tree; 18 | ||
| ||
Ch04/ComponentHier.java (58 lines) 36 37 Object jComponentNodes[] = {abstractButtonVector, "Box", "JColorChooser", 38 "JComboBox", "JFileChooser", "JInternalFrame", "JLabel", jLayeredPaneVector, 39 "JList", "JMenuBar", "JOptionPane", "JPanel", "JPopupMenu", "JProgressBar", 40 "JRootPane", "JScrollBar", "JScrollPane", "JSeparator", "JSlider", "JSpinner", 41 "JSplitPane", "JTabbedPane", "JTable", jTextComponentVector, "JToolBar", "JTree", 42 "JViewPort"}; 43 Vector jComponentVector = new NamedVector("JComponent", jComponentNodes);Additional matches viewable in cache of Ch04/ComponentHier.java. Ch01/SwingTree.java (39 lines) 17 "colorchooser", 18 "event", 19 "filechooser", 20 "plaf", 21 "table", 22 textVector, 23 "tree", 24 "undo"}); 25 JTree tree = new JTree(rootVector); 26 tree.setRootVisible(true); 27 TreeModel model = tree.getModel(); | ||
| ||
examples/ch18/PartsTree.java (72 lines) 1 //file: PartsTree.java 2 import java.awt.*; | ||
| ||
v2/v2ch12/DOMTreeTest/DOMTreeTest.java (243 lines) 40 41 JMenu fileMenu = new JMenu("File"); 42 JMenuItem openItem = new JMenuItem("Open");Additional matches viewable in cache of v2/v2ch12/DOMTreeTest/DOMTreeTest.java. | ||
| ||
gui/FileTree.java (99 lines) 7 8 /** 9 * Display a file system in a JTree view 10 * 11 * @version $Id: FileTree.java,v 1.9 2004/02/23 03:39:22 ian Exp $Additional matches viewable in cache of gui/FileTree.java. | ||
| ||
jswing2/ch24/FSTree.java (78 lines) 1 // FSTree.java 2 // A sample component for dragging & dropping a collection of files 3 // into a tree.Additional matches viewable in cache of jswing2/ch24/FSTree.java. jswing2/ch17/SortTreeDemo.java (55 lines) 2 // This class creates a tree model using the SortTreeModel with 3 // a File hierarchy as input. 4 //Additional matches viewable in cache of jswing2/ch17/SortTreeDemo.java. jswing2/ch17/VSX.java (117 lines) 1 // VSX.java 2 // A simple XML parser that builds a tree from SAX events. The xml file 3 // should be passed as a commandline argument.Additional matches viewable in cache of jswing2/ch17/VSX.java. jswing2/ch17/VSX2.java (156 lines) 3 // Currently this class has two main methods: parse() and write(). 4 // Both work with the TreeModel class and are meant to help you 5 // view XML documents with JTree. This version will embed icons 6 // and tool tip text in nodes if <code>icon</code> or 7 // <code>tiptext</code> attributes are found in the tag. 8 // 9 10 import javax.swing.*; 11 import javax.swing.tree.*; 12 import java.util.*; 13 import java.io.*; 14 import org.xml.sax.*; 15 import org.xml.sax.helpers.*; 16 import javax.xml.parsers.*; 17 18 public class VSX2 { 19 20 21 public TreeModel parse(String filename) { 22 SAXParserFactory factory = SAXParserFactory.newInstance(); 23 XMLIconTreeHandler handler = new XMLIconTreeHandler();Additional matches viewable in cache of jswing2/ch17/VSX2.java. jswing2/ch17/EmailTreeCellEditor.java (76 lines) 2 // An editor that actually manages two separate editors: one for folders 3 // (nodes) that uses a combobox; and one for files (leaves) that uses a 4 // textfield. | ||
| ||
JavaExamples2/com/davidflanagan/examples/xml/DOMTreeWalkerTreeModel.java (158 lines) 16 import javax.swing.tree.*; // TreeModel and related classes 17 import javax.swing.event.*; // Tree-related event classes 18 import java.io.*; // For reading the input XML file 19 20 /** 21 * This class implements the Swing TreeModel interface so that the DOM tree 22 * returned by a TreeWalker can be displayed in a JTree component. 23 **/ 24 public class DOMTreeWalkerTreeModel implements TreeModel {Additional matches viewable in cache of JavaExamples2/com/davidflanagan/examples/xml/DOMTreeWalkerTreeModel.java. | ||