protected static class RIFFStructView.RIFFModel
extends javax.swing.tree.DefaultTreeModel
implements org.monte.media.riff.RIFFVisitor
| Constructor and Description |
|---|
RIFFStructView.RIFFModel(java.io.File file,
java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
enterGroup(org.monte.media.riff.RIFFChunk group)
This method is invoked when the parser enters a group chunk.
|
boolean |
enteringGroup(org.monte.media.riff.RIFFChunk group)
This method is invoked when the parser attempts to enter a group.
|
java.lang.String |
getDescription(RIFFStructView.RIFFChunkNode chunkNode) |
java.lang.String |
getName(RIFFStructView.RIFFChunkNode chunkNode) |
org.monte.media.binary.StructTableModel |
getStructTableModel(RIFFStructView.RIFFChunkNode chunkNode) |
void |
leaveGroup(org.monte.media.riff.RIFFChunk group)
This method is invoked when the parser leaves a group chunk.
|
void |
registerChunks(org.monte.media.riff.RIFFParser iff) |
void |
visitChunk(org.monte.media.riff.RIFFChunk group,
org.monte.media.riff.RIFFChunk chunk)
This method is invoked when the parser has read a data chunk or
has skipped a stop chunk.
|
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChangedpublic RIFFStructView.RIFFModel(java.io.File file,
java.io.InputStream in)
throws java.io.IOException
java.io.IOExceptionpublic void registerChunks(org.monte.media.riff.RIFFParser iff)
public void enterGroup(org.monte.media.riff.RIFFChunk group)
org.monte.media.riff.RIFFVisitorenterGroup in interface org.monte.media.riff.RIFFVisitorpublic void leaveGroup(org.monte.media.riff.RIFFChunk group)
org.monte.media.riff.RIFFVisitorleaveGroup in interface org.monte.media.riff.RIFFVisitorpublic void visitChunk(org.monte.media.riff.RIFFChunk group,
org.monte.media.riff.RIFFChunk chunk)
org.monte.media.riff.RIFFVisitorvisitChunk in interface org.monte.media.riff.RIFFVisitorpublic java.lang.String getName(RIFFStructView.RIFFChunkNode chunkNode)
public java.lang.String getDescription(RIFFStructView.RIFFChunkNode chunkNode)
public org.monte.media.binary.StructTableModel getStructTableModel(RIFFStructView.RIFFChunkNode chunkNode)
public boolean enteringGroup(org.monte.media.riff.RIFFChunk group)
org.monte.media.riff.RIFFVisitorenteringGroup in interface org.monte.media.riff.RIFFVisitor