com.borland.primetime.node
Class FolderNode
java.lang.Object
|
+--com.borland.primetime.node.Node
|
+--com.borland.primetime.node.LightweightNode
|
+--com.borland.primetime.node.FolderNode
- public class FolderNode
- extends LightweightNode
- implements NodeContainer
Field Summary |
static javax.swing.Icon |
ICON
|
static java.lang.String |
TYPE
|
Constructor Summary |
FolderNode(Project project,
Node parent,
java.lang.String name)
All LightweightNode subtypes must expose this constructor signature. |
Method Summary |
javax.swing.Icon |
getDisplayIcon()
Provides an image to be used for graphical representation of the node. |
int |
getDisplaySequence()
Describes the logical group the node belongs to for ordering purposes. |
static void |
initOpenTool(byte majorVersion,
byte minorVersion)
OpenTool initialization |
boolean |
isUserRenamable()
Override this method if you want to allow the user to rename. |
Methods inherited from class com.borland.primetime.node.Node |
addNodeListener,
check,
compareTo,
dumpNodes,
dumpNodes,
dumpNodes,
equals,
fireNodeRenamed,
getChildren,
getDisplayChildren,
getLongDisplayName,
getNodeID,
getParent,
getProject,
getProperties,
getProperty,
getProperty,
getProperty,
hasChildren,
hasDisplayChildren,
hashCode,
isModified,
isPersistant,
removeNodeListener,
setParent,
setProperty,
setProperty,
setProperty,
toString |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
TYPE
public static final java.lang.String TYPE
ICON
public static final javax.swing.Icon ICON
FolderNode
public FolderNode(Project project,
Node parent,
java.lang.String name)
- All LightweightNode subtypes must expose this constructor signature.
initOpenTool
public static void initOpenTool(byte majorVersion,
byte minorVersion)
- OpenTool initialization
isUserRenamable
public boolean isUserRenamable()
- Description copied from class: LightweightNode
- Override this method if you want to allow the user to rename.
- Overrides:
- isUserRenamable in class LightweightNode
getDisplayIcon
public javax.swing.Icon getDisplayIcon()
- Description copied from class: Node
- Provides an image to be used for graphical representation of the node.
- Overrides:
- getDisplayIcon in class Node
- Tags copied from class: Node
- Returns:
- An Icon instance.
getDisplaySequence
public int getDisplaySequence()
- Description copied from class: Node
- Describes the logical group the node belongs to for ordering purposes.
Nodes are divided into groups, then sorted by name within a group of nodes
sharing the same grouping value. The groups themselves are ordered by
grouping value, with lower numbers appearing earlier. Arbitrary numbers
have been chosen to sort nodes in JBuilder as follows: Projects = 100,
Folders = 200, Packages = 300, the default = 400, FileNodes = 500,
ClassFileNodes = 600.
- Overrides:
- getDisplaySequence in class Node
- Tags copied from class: Node
- Returns:
- An integer value specifying a grouping value.