ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/htmltree.htm

62 lines
3.5 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="HTMLTree classes" />
<meta name="abstract" content="" />
<meta name="description" content="" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="htmltree" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>HTMLTree classes</title>
</head>
<body id="htmltree"><a name="htmltree"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">HTMLTree classes</h1>
<div><p></p>
<div class="section"><p>The <a href="#htmltree"> HTMLTree</a> class allows you to
easily set up a hierarchical tree of HTML elements that you can use in HTML
pages. This class provides methods to get and set various attributes of the
tree, in addition to methods allowing you to:</p>
<ul><li><a href="javadoc/com/ibm/as400/util/html/HTMLTree.html#GETHTTPSERVLETREQUEST()"> Get</a> and <a href="javadoc/com/ibm/as400/util/html/HTMLTree.html#SETHTTPSERVLETREQUEST(JAVAX.SERVLET.HTTP.HTTPSERVLETREQUEST)"> set</a> the HTTP Servlet Request</li>
<li><a href="javadoc/com/ibm/as400/util/html/HTMLTree.html#ADDELEMENT(COM.IBM.AS400.UTIL.HTML.HTMLTREEELEMENT)"> Add</a> an HTMLTreeElement or FileTreeElement
to the tree</li>
<li><a href="javadoc/com/ibm/as400/util/html/HTMLTree.html#ADDELEMENT(COM.IBM.AS400.UTIL.HTML.HTMLTREEELEMENT)"> Remove</a> an HTMLTreeElement or FileTreeElement
from the tree</li>
</ul>
<p>The HTMLTree class uses other HTML classes that make it easier to
create a hierarchical tree:</p>
<ul><li><a href="treeelement.htm#treeelement">HTMLTreeElement</a>: Creates
a tree element</li>
<li><a href="filetree.htm#filetree">FileTreeElement</a>: Creates a
file tree element</li>
<li><a href="filelist.htm#filelist">FileListElement</a>: Creates a
file list element</li>
<li><a href="filelistrenderer.htm#filelistrenderer">FileListRenderer</a>:
Renders the list of files and directories</li>
</ul>
</div>
<div class="section" id="htmltree__htmltreeexpl"><a name="htmltree__htmltreeexpl"><!-- --></a><h4 class="sectiontitle">Examples: Using HTMLTree classes</h4><p>The
following examples show different ways to use the HTMLTree classes.</p>
<ul><li><a href="htmtrex.htm#htmtrex">Example: Using HTMLTree classes</a></li>
<li><a href="htmtreeex.htm#htmtreeex">Example: Creating a traversable integrated file system tree</a></li>
</ul>
</div>
</div>
</body>
</html>