ewe.io
Class EweFile.EweEntry
java.lang.Object
ewe.data.DataObject
ewe.data.LiveObject
ewe.data.LiveTreeNode
ewe.io.EweFile.EweEntry
- All Implemented Interfaces:
- Comparable, Copyable, DataUnit, FieldListener, LiveData, MutableTreeNode, TreeNode
- Enclosing class:
- EweFile
- public static class EweFile.EweEntry
- extends LiveTreeNode
| Methods inherited from class ewe.data.LiveTreeNode |
addChild, addressOfChild, addressOfChild, addressOfChild, canExpand, collapse, expand, findNamedChild, getChild, getChildAt, getChildAt, getChildCount, getChildren, getParent, getParent, getSibling, indexOfChild, insertChild, isLeaf, isNamed, removeChild, setParent |
| Methods inherited from class ewe.data.LiveObject |
action, action, addMeToPanel, addObjectToPanel, addToPanel, decode, decoded, decodeFields, enableEditorScrolling, encode, encoded, encodeFields, fieldChanged, fieldChanged, fieldEvent, getEditor, getEditorScroller, getIcon, input, makeNewEditor, runAsApp, textDecode, textEncode |
| Methods inherited from class ewe.data.DataObject |
_getSetField, appendAllFields, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getDeclaredFieldValue, getFieldList, getFieldList, getMyFieldList, getNew |
name
public String name
- The name of the entry.
length
public int length
- The size of the entry in bytes.
offset
public int offset
- The location of the first byte of the entry in the EweFile.
myFileName
public SubString myFileName
EweFile.EweEntry
public EweFile.EweEntry(String name)
toString
public String toString()
- Description copied from class:
Object
- Return a String representation of this object.
- Overrides:
toString in class Object
- Returns:
- a String representing this object.
getName
public String getName()
- Description copied from class:
LiveObject
- By default this returns the String "unnamed".
- Specified by:
getName in interface LiveData- Overrides:
getName in class LiveObject
compareTo
public int compareTo(Object other)
- Description copied from interface:
Comparable
- Compare this object with another. It should return: less than 0 if this object
is considered LESS than the "other" object; greater than 0 if this object is
considered GREATER than the "other" object; 0 if this object is
considered EQUAL to the "other" object. (i.e. it is an implicit
subtraction).
- Specified by:
compareTo in interface Comparable- Overrides:
compareTo in class DataObject