sidekick
Class GhostElement

java.lang.Object
  extended bysidekick.GhostElement

public class GhostElement
extends java.lang.Object

GhostElement should be in own file? -At the moment the aType attribute is not used (Should it?)

Title: Class GhostElement

Description: Represents objects that are stored as userObjects in DefaultMutableTreeNodes when considering a ghost node. A ghost node in a tree van be used to add an element at that position

Copyright: Copyright (c) 2004

Company: University of Jyväskylä / Xetor


Field Summary
static int AFTER
           
private  int aOffsetEnd
           
private  int aOffsetStart
           
private  int aType
           
static int BEFORE
           
static int INSIDE
           
 
Constructor Summary
GhostElement(int pOffsetStart, int pOffsetEnd, int pType)
           
 
Method Summary
 int getOffsetEnd()
           
 int getOffsetStart()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BEFORE

public static final int BEFORE
See Also:
Constant Field Values

INSIDE

public static final int INSIDE
See Also:
Constant Field Values

AFTER

public static final int AFTER
See Also:
Constant Field Values

aOffsetStart

private int aOffsetStart

aOffsetEnd

private int aOffsetEnd

aType

private int aType
Constructor Detail

GhostElement

public GhostElement(int pOffsetStart,
                    int pOffsetEnd,
                    int pType)
Method Detail

getOffsetEnd

public int getOffsetEnd()

getOffsetStart

public int getOffsetStart()

toString

public java.lang.String toString()