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

Quick Search    Search Deep

org.jempeg.empeg.emptool
Class BranchStack  view BranchStack download BranchStack.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended byjava.util.Stack
                  extended byorg.jempeg.empeg.emptool.BranchStack
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.lang.Iterable, java.util.List, java.util.RandomAccess, java.io.Serializable

class BranchStack
extends java.util.Stack

BranchStack is used by Emptool to represent a stack of PlaylistBranches (i.e. playlists).

Version:
$Revision: 1.6 $

Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
 
Fields inherited from class java.util.Stack
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
BranchStack()
           
 
Method Summary
 java.lang.Object clone()
          Creates a new Vector with the same contents as this one.
 AbstractFIDNode getChildNode(PlayerDatabase _db)
           
 FIDPlaylist getChildPlaylist(PlayerDatabase _db)
           
 int getChildPos()
           
 FIDPlaylist getParentPlaylist()
           
 boolean isRootPlaylist()
           
 PlaylistBranch lastPlaylistBranchElement()
           
 void removedNode(FIDPlaylist _playlist, int _pos)
           
 void setChildPos(int _pos)
           
 
Methods inherited from class java.util.Stack
empty, peek, pop, push, search
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.util.AbstractCollection
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

BranchStack

public BranchStack()
Method Detail

clone

public java.lang.Object clone()
Description copied from class: java.util.Vector
Creates a new Vector with the same contents as this one. The clone is shallow; elements are not cloned.


lastPlaylistBranchElement

public PlaylistBranch lastPlaylistBranchElement()

getParentPlaylist

public FIDPlaylist getParentPlaylist()

getChildPos

public int getChildPos()

getChildNode

public AbstractFIDNode getChildNode(PlayerDatabase _db)

getChildPlaylist

public FIDPlaylist getChildPlaylist(PlayerDatabase _db)

isRootPlaylist

public boolean isRootPlaylist()

removedNode

public void removedNode(FIDPlaylist _playlist,
                        int _pos)

setChildPos

public void setChildPos(int _pos)