ca.sqlpower.wabit.swingui.tree
Class FolderNode

java.lang.Object
  extended by ca.sqlpower.wabit.swingui.tree.FolderNode

public class FolderNode
extends java.lang.Object

This is the FolderNode class and it represents the folder object in the tree. This does not implement wabit object although it does use some of the same class names as the WabitObject.


Nested Class Summary
static class FolderNode.FolderType
           
 
Constructor Summary
FolderNode(WabitWorkspace parent, FolderNode.FolderType folderType)
          This is the FolderNode class and it represents the folder object in the tree.
 
Method Summary
 boolean allowsChildren()
           
 int childPositionOffset(java.lang.Class<? extends WabitObject> childType)
           
 java.util.List<? extends WabitObject> getChildren()
           
 FolderNode.FolderType getFolderType()
           
 WabitWorkspace getParent()
           
static FolderNode.FolderType getProperFolderParent(WabitObject object)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FolderNode

public FolderNode(WabitWorkspace parent,
                  FolderNode.FolderType folderType)
This is the FolderNode class and it represents the folder object in the tree. This does not implement wabit object although it does use some of the same class names as the WabitObject.

Parameters:
parent - The parent workspace this folder belongs to
folderType - This is the type of the folder.
Method Detail

getProperFolderParent

public static FolderNode.FolderType getProperFolderParent(WabitObject object)

getParent

public WabitWorkspace getParent()

getFolderType

public FolderNode.FolderType getFolderType()

allowsChildren

public boolean allowsChildren()

getChildren

public java.util.List<? extends WabitObject> getChildren()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

childPositionOffset

public int childPositionOffset(java.lang.Class<? extends WabitObject> childType)


Copyright © 2009. All Rights Reserved.