ch.randelshofer.view
Class MP3StructView.MP3Node
java.lang.Object
ch.randelshofer.view.MP3StructView.MP3Node
- All Implemented Interfaces:
- AbstractStructView.StructNode
- Enclosing class:
- MP3StructView
protected static class MP3StructView.MP3Node
- extends java.lang.Object
- implements AbstractStructView.StructNode
|
Constructor Summary |
MP3StructView.MP3Node(MP3StructView.MP3Model model,
java.lang.String name,
java.io.File file,
org.monte.media.mp3.MP3ElementaryInputStream.Frame frame,
byte[] data,
int indexInParent,
long offset,
long size)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MP3StructView.MP3Node
public MP3StructView.MP3Node(MP3StructView.MP3Model model,
java.lang.String name,
java.io.File file,
org.monte.media.mp3.MP3ElementaryInputStream.Frame frame,
byte[] data,
int indexInParent,
long offset,
long size)
getName
public java.lang.String getName()
- Specified by:
getName in interface AbstractStructView.StructNode
getStructTableModel
public org.monte.media.binary.StructTableModel getStructTableModel()
- Specified by:
getStructTableModel in interface AbstractStructView.StructNode
getRawData
public byte[] getRawData(long offset,
int length)
- Specified by:
getRawData in interface AbstractStructView.StructNode
getRawDataHighlights
public java.util.List<org.monte.media.binary.BinaryPanel.Highlight> getRawDataHighlights()
- Specified by:
getRawDataHighlights in interface AbstractStructView.StructNode
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getId
public java.lang.String getId()
- Specified by:
getId in interface AbstractStructView.StructNode
getSize
public long getSize()
- Specified by:
getSize in interface AbstractStructView.StructNode
getOffset
public long getOffset()
- Specified by:
getOffset in interface AbstractStructView.StructNode
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription in interface AbstractStructView.StructNode
getIndexInParent
public int getIndexInParent()
- Description copied from interface:
AbstractStructView.StructNode
- Returns the index of the node in its parent.
- Specified by:
getIndexInParent in interface AbstractStructView.StructNode
hasRawData
public boolean hasRawData()
- Specified by:
hasRawData in interface AbstractStructView.StructNode
getFile
public java.io.File getFile()
- Description copied from interface:
AbstractStructView.StructNode
- If the node is file based, returns the file otherwise returns null.
- Specified by:
getFile in interface AbstractStructView.StructNode