ca.sqlpower.wabit.swingui.tree
Class FolderNode
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 tofolderType - This is the type of the folder.
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.