|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.teamdev.jxdocument.DocumentPresentation
public abstract class DocumentPresentation
Represents GUI component that can be used to display PDF Document or specified Page in Java Swing applications.
Different implementations may provide different ways of how PDF Document should be displayed. All implementations
must implement the getComponent()
method and return JComponent
instance that will be used for
displaying PDF Document.
Constructor Summary | |
---|---|
DocumentPresentation(Document document)
Constructs a new DocumentPresentation instance for specified document . |
Method Summary | |
---|---|
abstract javax.swing.JComponent |
getComponent()
Returns Java Swing component that can display PDF Document. |
Document |
getDocument()
Returns a Document instance that is associated with the current presentation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentPresentation(Document document)
DocumentPresentation
instance for specified document
.
java.lang.IllegalArgumentException
- when document
is null
.Method Detail |
---|
public Document getDocument()
Document
instance that is associated with the current presentation.
Document
instance that is associated with the current presentation.public abstract javax.swing.JComponent getComponent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |