public class PrintTable extends Extension implements java.awt.print.Printable
Constructor and Description |
---|
PrintTable() |
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.String s)
This method is executed when the user clicks on any of the
controls associated with this extension (menus, tools, etc).
|
void |
initialize()
Extension's initialization code should be here.
|
boolean |
isEnabled()
DOCUMENT ME!
|
boolean |
isVisible()
DOCUMENT ME!
|
int |
print(java.awt.Graphics g,
java.awt.print.PageFormat pageFormat,
int pageIndex) |
public void initialize()
IExtension
initialize
in interface IExtension
public void execute(java.lang.String s)
IExtension
execute
in interface IExtension
s
- An String specifying the action to
execute. This is useful when there are different
controls associated with the same extension.public boolean isEnabled()
isEnabled
in interface IExtension
public boolean isVisible()
isVisible
in interface IExtension
public int print(java.awt.Graphics g, java.awt.print.PageFormat pageFormat, int pageIndex) throws java.awt.print.PrinterException
print
in interface java.awt.print.Printable
java.awt.print.PrinterException