|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo.Component echopoint.PrintRequest
The PrintRequest component can be used to get the client browser to print the current window or frame.
The presence of this no visual component will cause the browser to show the platform print dialog and allow them to print the current contents of the page.
The component will only perform printing if is active. Once it has been rendered once, it automatically sets itself to be non active. The allows it to be present as a component, without unintentional print requests.
Field Summary |
Fields inherited from class nextapp.echo.Component |
BACKGROUND_CHANGED_PROPERTY, CHILDREN_CHANGED_PROPERTY, ENABLED_CHANGED_PROPERTY, FONT_CHANGED_PROPERTY, FOREGROUND_CHANGED_PROPERTY, IDENTIFIER_CHANGED_PROPERTY, listenerList, LOCALE_CHANGED_PROPERTY, MODEL_CHANGED_PROPERTY, STYLE_BACKGROUND, STYLE_FONT, STYLE_FOREGROUND, UPDATE_PROPERTY, VISIBLE_CHANGED_PROPERTY |
Constructor Summary | |
PrintRequest()
Contructs a PrintRequest that is active and only prints the current frame. |
|
PrintRequest(boolean active)
Contructs a PrintRequest only prints the current frame will be active if active is set to true. |
Method Summary | |
boolean |
isActive()
|
boolean |
isFrameOnly()
|
void |
setActive(boolean active)
|
void |
setFrameOnly(boolean frameOnly)
|
Methods inherited from class nextapp.echo.Component |
add, add, addHierarchyListener, addPropertyChangeListener, applyStyle, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getComponent, getComponentCount, getComponents, getEchoInstance, getFont, getForeground, getIdentifier, getLocale, getParent, indexOf, init, isAncestorOf, isEnabled, isRegistered, isShowing, isVisible, remove, remove, removeAll, removeHierarchyListener, removePropertyChangeListener, setBackground, setEnabled, setFont, setForeground, setIdentifier, setLocale, setVisible, update, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PrintRequest()
public PrintRequest(boolean active)
Method Detail |
public boolean isActive()
public void setActive(boolean active)
active
- - true if the Printrequest is to be activepublic boolean isFrameOnly()
public void setFrameOnly(boolean frameOnly)
frameOnly
- set to true if the only the frame is to be printed
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |