ch.randelshofer.view
Class PictStructView.PictNode
java.lang.Object
ch.randelshofer.view.PictStructView.PictNode
- All Implemented Interfaces:
- AbstractStructView.StructNode
- Enclosing class:
- PictStructView
protected static class PictStructView.PictNode
- extends java.lang.Object
- implements AbstractStructView.StructNode
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PictStructView.PictNode
public PictStructView.PictNode(PictStructView.PictModel model,
int id,
int offset,
byte[] data)
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
setIndexInParent
public void setIndexInParent(int cc)
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