home *** CD-ROM | disk | FTP | other *** search
- import java.awt.Image;
-
- class BookmarkNode implements OutlineNodeData {
- String Title;
- String URL;
- String Desc;
- boolean Secondary;
- Image Icon;
-
- public BookmarkNode(String title, String url, String desc) {
- this.Title = new String(title);
- this.URL = new String(url);
- this.Desc = new String(desc);
- this.Secondary = false;
- this.Icon = null;
- }
-
- public BookmarkNode(String title, String url, String desc, Image icon) {
- this(title, url, desc);
- this.Icon = icon;
- }
-
- public String NodeTitle() {
- return this.Title;
- }
-
- public boolean IsSecondary() {
- return this.Secondary;
- }
-
- public Image NodeIcon() {
- return this.Icon;
- }
-
- public String NodeURL() {
- return this.URL;
- }
-
- public String NodeDesc() {
- return this.Desc;
- }
-
- public void setSecondary(boolean f) {
- this.Secondary = f;
- }
-
- public void setIcon(Image icon) {
- this.Icon = icon;
- }
- }
-