|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.print.DocumentEvent
public class DocumentEvent
Name: DocumentEvent
Description: A class holding document event informations.
Field Summary | |
---|---|
static int |
CHARACTERS
The characters event. |
static int |
CLOSE
The close event. |
static int |
OPEN
The open event. |
Constructor Summary | |
---|---|
DocumentEvent(int type,
BaseDocumentTag item,
String content)
Constructs a DocumentEvent instance with no specific arguments. |
Method Summary | |
---|---|
String |
getContent()
Gets the item's content. |
BaseDocumentTag |
getItem()
Gets the item. |
int |
getType()
Gets the event type. |
String |
getTypeName()
Gets the event type name. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int OPEN
public static final int CHARACTERS
public static final int CLOSE
Constructor Detail |
---|
public DocumentEvent(int type, BaseDocumentTag item, String content)
type
- The initial event type.item
- The tag, where the event occurred.content
- The item's content at this stage.Method Detail |
---|
public int getType()
public String getTypeName()
public BaseDocumentTag getItem()
public String getContent()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |