|
org.sleuthkit.autopsy.datamodel/0 0.0 1 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.beans.FeatureDescriptor
org.openide.nodes.Node
org.openide.nodes.AbstractNode
org.sleuthkit.autopsy.datamodel.ImageNode
public class ImageNode
This class is used to represent the "Node" for the image. The children of this node are volumes.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.openide.nodes.Node |
|---|
org.openide.nodes.Node.Cookie, org.openide.nodes.Node.Handle, org.openide.nodes.Node.IndexedProperty<T,E>, org.openide.nodes.Node.Property<T>, org.openide.nodes.Node.PropertySet |
| Field Summary |
|---|
| Fields inherited from class org.openide.nodes.AbstractNode |
|---|
displayFormat, systemActions |
| Fields inherited from class org.openide.nodes.Node |
|---|
EMPTY, PROP_COOKIE, PROP_DISPLAY_NAME, PROP_ICON, PROP_LEAF, PROP_NAME, PROP_OPENED_ICON, PROP_PARENT_NODE, PROP_PROPERTY_SETS, PROP_SHORT_DESCRIPTION |
| Constructor Summary | |
|---|---|
ImageNode(org.sleuthkit.datamodel.Image img)
|
|
| Method Summary | ||
|---|---|---|
|
accept(ContentNodeVisitor<T> v)
Visitor pattern support. |
|
protected org.openide.nodes.Sheet |
createSheet()
|
|
javax.swing.Action[] |
getActions(boolean context)
Right click action for this node |
|
org.sleuthkit.datamodel.Content |
getContent()
Returns the content of this node. |
|
org.openide.nodes.Node.Cookie |
getCookie(java.lang.Class clazz)
|
|
java.lang.String[] |
getDisplayPath()
Returns full path to this node. |
|
int |
getFileIDColumn()
Returns the location of the file ID / Metadata address on the columns on the directory table. |
|
long |
getID()
Gets the ID of this node. |
|
java.lang.String |
getName()
Returns the programmatic name for this node. |
|
java.lang.Object[][] |
getRowValues(int rows)
Gets the row values for this node. |
|
java.lang.String[] |
getSystemPath()
Returns full path to this node. |
|
byte[] |
read(long offset,
long len)
Reads the content of this node. |
|
void |
setName(java.lang.String name)
|
|
| Methods inherited from class org.openide.nodes.AbstractNode |
|---|
canCopy, canCut, canDestroy, canRename, clipboardCopy, clipboardCut, cloneNode, createActions, createPasteTypes, drag, getActions, getCookieSet, getCustomizer, getDefaultAction, getDropType, getHandle, getHelpCtx, getIcon, getNewTypes, getOpenedIcon, getPasteTypes, getPreferredAction, getPropertySets, getSheet, hasCustomizer, setCookieSet, setDefaultAction, setIconBase, setIconBaseWithExtension, setSheet |
| Methods inherited from class org.openide.nodes.Node |
|---|
addNodeListener, addPropertyChangeListener, clone, destroy, equals, fireCookieChange, fireDisplayNameChange, fireIconChange, fireNameChange, fireNodeDestroyed, fireOpenedIconChange, firePropertyChange, firePropertySetsChange, fireShortDescriptionChange, getChildren, getContextActions, getContextMenu, getHtmlDisplayName, getLookup, getParentNode, hashCode, hasPropertyChangeListener, isLeaf, removeNodeListener, removePropertyChangeListener, setChildren, setDisplayName, setHidden, setShortDescription, toString |
| Methods inherited from class java.beans.FeatureDescriptor |
|---|
attributeNames, getDisplayName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setExpert, setPreferred, setValue |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ImageNode(org.sleuthkit.datamodel.Image img)
img - | Method Detail |
|---|
public java.lang.Object[][] getRowValues(int rows)
throws java.sql.SQLException
getRowValues in interface ContentNoderows - the number of rows we want to show
java.sql.SQLExceptionpublic int getFileIDColumn()
getFileIDColumn in interface ContentNodepublic org.openide.nodes.Node.Cookie getCookie(java.lang.Class clazz)
getCookie in class org.openide.nodes.AbstractNodepublic javax.swing.Action[] getActions(boolean context)
getActions in class org.openide.nodes.Nodecontext -
protected org.openide.nodes.Sheet createSheet()
createSheet in class org.openide.nodes.AbstractNodepublic <T> T accept(ContentNodeVisitor<T> v)
ContentNode
T - visitor return typev - visitor
public void setName(java.lang.String name)
setName in class org.openide.nodes.AbstractNodepublic java.lang.String getName()
ContentNode
getName in interface ContentNodegetName in class java.beans.FeatureDescriptorpublic long getID()
getID in interface ContentNode
public byte[] read(long offset,
long len)
throws org.sleuthkit.datamodel.TskException
read in interface ContentNodeoffset - the starting offsetlen - the length
org.sleuthkit.datamodel.TskExceptionpublic org.sleuthkit.datamodel.Content getContent()
getContent in interface ContentNodepublic java.lang.String[] getDisplayPath()
getDisplayPath in interface ContentNodepublic java.lang.String[] getSystemPath()
getSystemPath in interface ContentNode
|
org.sleuthkit.autopsy.datamodel/0 0.0 1 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||