Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.port80.draw2d.imageviewer.views
Class ImageIndexView.TreeParent  view ImageIndexView.TreeParent download ImageIndexView.TreeParent.java

java.lang.Object
  extended bycom.port80.draw2d.imageviewer.views.ImageIndexView.TreeObject
      extended bycom.port80.draw2d.imageviewer.views.ImageIndexView.TreeParent
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
Enclosing class:
ImageIndexView

class ImageIndexView.TreeParent
extends ImageIndexView.TreeObject


Field Summary
private  java.util.ArrayList children
           
 
Constructor Summary
ImageIndexView.TreeParent(java.lang.String name)
           
 
Method Summary
 void addChild(ImageIndexView.TreeObject child)
           
 java.lang.Object getAdapter(java.lang.Class key)
          Returns an object which is an instance of the given class associated with this object.
 ImageIndexView.TreeObject[] getChildren()
           
 java.lang.String getName()
           
 ImageIndexView.TreeParent getParent()
           
 boolean hasChildren()
           
 void removeChild(ImageIndexView.TreeObject child)
           
 void setParent(ImageIndexView.TreeParent parent)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

children

private java.util.ArrayList children
Constructor Detail

ImageIndexView.TreeParent

public ImageIndexView.TreeParent(java.lang.String name)
Method Detail

addChild

public void addChild(ImageIndexView.TreeObject child)

removeChild

public void removeChild(ImageIndexView.TreeObject child)

getChildren

public ImageIndexView.TreeObject[] getChildren()

hasChildren

public boolean hasChildren()

getName

public java.lang.String getName()

setParent

public void setParent(ImageIndexView.TreeParent parent)

getParent

public ImageIndexView.TreeParent getParent()

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


getAdapter

public java.lang.Object getAdapter(java.lang.Class key)
Description copied from interface: org.eclipse.core.runtime.IAdaptable
Returns an object which is an instance of the given class associated with this object. Returns null if no such object can be found.

Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable