|
|||||||||
| Home >> All >> org >> jempeg >> empeg >> emplode >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jempeg.empeg.emplode.model
Class VirtualFIDPlaylistTreeNode

java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
org.jempeg.empeg.emplode.model.VirtualFIDPlaylistTreeNode
- All Implemented Interfaces:
- java.lang.Cloneable, EmpegPlaylistTreeNodeIfc, EmpegTreeNodeIfc, java.util.EventListener, FIDPlaylistTreeNodeIfc, org.jempeg.empeg.emplode.action.FIDTreeNodeChangeListenerIfc, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode
- Direct Known Subclasses:
- VirtualSearchFIDPlaylistTreeNode, VirtualTagFIDPlaylistTreeNode
- public class VirtualFIDPlaylistTreeNode
- extends javax.swing.tree.DefaultMutableTreeNode
- implements FIDPlaylistTreeNodeIfc
- extends javax.swing.tree.DefaultMutableTreeNode
VirtualFIDPlaylistTreeNode is an FIDPlaylistTreeNode that doesn't actually exist on the Empeg.
- Version:
- $Revision: 1.10 $
| Nested Class Summary |
| Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
|
| Field Summary | |
private boolean |
myHearsEvents
|
private java.util.Vector |
myNodes
|
private int |
myType
|
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Fields inherited from interface org.jempeg.empeg.emplode.model.EmpegTreeNodeIfc |
TYPE_ALBUM, TYPE_ALBUMS, TYPE_ARTIST, TYPE_ARTISTS, TYPE_FOLDER, TYPE_GENRE, TYPE_GENRES, TYPE_PLAYLIST, TYPE_ROOT, TYPE_TUNE, TYPE_TUNES, TYPE_YEAR, TYPE_YEARS |
| Constructor Summary | |
VirtualFIDPlaylistTreeNode(java.lang.String _name)
Constructs a new VirtualFIDPlaylistTreeNode that doesn't listen to FIDTreeNodeChangeEvents. |
|
VirtualFIDPlaylistTreeNode(java.lang.String _name,
boolean _hearsEvents)
Constructs a new VirtualFIDPlaylistTreeNode. |
|
| Method Summary | |
void |
add(org.jempeg.empeg.emptool.AbstractFIDNode _fidNode)
Adds the given FID Node to this virtual node |
void |
add(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeListenerIfc _changeListener,
org.jempeg.empeg.emplode.action.ConfirmationListenerIfc _confirmationListener,
EmpegTreeNodeIfc _childNode)
Attempt to add the given child node. |
void |
clear()
|
java.lang.Object |
clone()
Returns a clone of the node. |
EmpegTableModelIfc |
createTableModel()
Creates a TableModel out of the children of this tree node. |
void |
delete(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeListenerIfc _changeListener,
org.jempeg.empeg.emplode.action.ConfirmationListenerIfc _confirmationListener,
EmpegTreeNodeIfc _childNode)
Attempt to delete the given child node. |
void |
fidTreeNodesAdded(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeEvent _event)
Called when a set of FIDTreeNodes is added. |
void |
fidTreeNodesModified(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeEvent _event)
Called when a set of FIDTreeNodes is modified. |
void |
fidTreeNodesRemoved(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeEvent _event)
Called when a set of FIDTreeNodes is removed. |
int |
getFIDIndexOf(FIDTreeNodeIfc _treeNode)
Returns the index of the given FIDTreeNodeIfc. |
FIDTreeNodeIfc |
getFIDTreeNodeAt(int _index)
Returns an FIDTreeNodeIfc at the given index. |
int |
getSize()
Returns the size of this FIDPlaylistTreeNodeIfc. |
java.lang.String |
getTitle()
Returns the name of this Playlist. |
FIDTreeNodeIfc |
getTreeNode(org.jempeg.empeg.emptool.AbstractFIDNode _fidNode)
Returns the FIDTreeNodeIfc that corresponds to the given AbstractFIDNode. |
int |
getType()
Returns the type of this EmpegTreeNode. |
void |
move(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeListenerIfc _changeListener,
org.jempeg.empeg.emplode.action.ConfirmationListenerIfc _confirmationListener,
EmpegTreeNodeIfc _childNode)
Attempt to move the given child node into this node. |
void |
remove(org.jempeg.empeg.emptool.AbstractFIDNode _fidNode)
Removes the given FID Node from this virtual node |
void |
setType(int _type)
Sets the type of this EmpegTreeNode. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.swing.tree.MutableTreeNode |
insert, remove, remove, removeFromParent, setParent, setUserObject |
| Methods inherited from interface javax.swing.tree.TreeNode |
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
| Field Detail |
myType
private int myType
myNodes
private java.util.Vector myNodes
myHearsEvents
private boolean myHearsEvents
| Constructor Detail |
VirtualFIDPlaylistTreeNode
public VirtualFIDPlaylistTreeNode(java.lang.String _name)
- Constructs a new VirtualFIDPlaylistTreeNode that doesn't listen to FIDTreeNodeChangeEvents.
VirtualFIDPlaylistTreeNode
public VirtualFIDPlaylistTreeNode(java.lang.String _name, boolean _hearsEvents)
- Constructs a new VirtualFIDPlaylistTreeNode.
| Method Detail |
getTitle
public java.lang.String getTitle()
- Returns the name of this Playlist.
- Specified by:
getTitlein interfaceEmpegTreeNodeIfc
clone
public java.lang.Object clone()
- Description copied from class:
javax.swing.tree.DefaultMutableTreeNode - Returns a clone of the node. The clone contains a shallow copy of the
user object, and does not copy the parent node or the child nodes.
clear
public void clear()
getType
public int getType()
- Returns the type of this EmpegTreeNode.
- Specified by:
getTypein interfaceEmpegTreeNodeIfc
setType
public void setType(int _type)
- Sets the type of this EmpegTreeNode.
add
public void add(org.jempeg.empeg.emptool.AbstractFIDNode _fidNode)
- Adds the given FID Node to this virtual node
remove
public void remove(org.jempeg.empeg.emptool.AbstractFIDNode _fidNode)
- Removes the given FID Node from this virtual node
getTreeNode
public FIDTreeNodeIfc getTreeNode(org.jempeg.empeg.emptool.AbstractFIDNode _fidNode)
- Returns the FIDTreeNodeIfc that corresponds to the
given AbstractFIDNode.
add
public void add(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeListenerIfc _changeListener, org.jempeg.empeg.emplode.action.ConfirmationListenerIfc _confirmationListener, EmpegTreeNodeIfc _childNode)
- Attempt to add the given child node.
- Specified by:
addin interfaceEmpegPlaylistTreeNodeIfc
delete
public void delete(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeListenerIfc _changeListener, org.jempeg.empeg.emplode.action.ConfirmationListenerIfc _confirmationListener, EmpegTreeNodeIfc _childNode)
- Attempt to delete the given child node.
- Specified by:
deletein interfaceEmpegPlaylistTreeNodeIfc
move
public void move(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeListenerIfc _changeListener, org.jempeg.empeg.emplode.action.ConfirmationListenerIfc _confirmationListener, EmpegTreeNodeIfc _childNode)
- Attempt to move the given child node into this node.
- Specified by:
movein interfaceEmpegPlaylistTreeNodeIfc
getFIDTreeNodeAt
public FIDTreeNodeIfc getFIDTreeNodeAt(int _index)
- Returns an FIDTreeNodeIfc at the given index.
- Specified by:
getFIDTreeNodeAtin interfaceFIDPlaylistTreeNodeIfc
getFIDIndexOf
public int getFIDIndexOf(FIDTreeNodeIfc _treeNode)
- Returns the index of the given FIDTreeNodeIfc.
- Specified by:
getFIDIndexOfin interfaceFIDPlaylistTreeNodeIfc
getSize
public int getSize()
- Returns the size of this FIDPlaylistTreeNodeIfc.
- Specified by:
getSizein interfaceFIDPlaylistTreeNodeIfc
createTableModel
public EmpegTableModelIfc createTableModel()
- Creates a TableModel out of the children of
this tree node.
- Specified by:
createTableModelin interfaceEmpegPlaylistTreeNodeIfc
fidTreeNodesAdded
public void fidTreeNodesAdded(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeEvent _event)
- Called when a set of FIDTreeNodes is added.
- Specified by:
fidTreeNodesAddedin interfaceorg.jempeg.empeg.emplode.action.FIDTreeNodeChangeListenerIfc
fidTreeNodesModified
public void fidTreeNodesModified(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeEvent _event)
- Called when a set of FIDTreeNodes is modified.
- Specified by:
fidTreeNodesModifiedin interfaceorg.jempeg.empeg.emplode.action.FIDTreeNodeChangeListenerIfc
fidTreeNodesRemoved
public void fidTreeNodesRemoved(org.jempeg.empeg.emplode.action.FIDTreeNodeChangeEvent _event)
- Called when a set of FIDTreeNodes is removed.
- Specified by:
fidTreeNodesRemovedin interfaceorg.jempeg.empeg.emplode.action.FIDTreeNodeChangeListenerIfc
|
|||||||||
| Home >> All >> org >> jempeg >> empeg >> emplode >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC