|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectag.ion.bion.officelayer.internal.desktop.Frame
public class Frame
OpenOffice.org frame.
| Constructor Summary | |
|---|---|
Frame(com.sun.star.frame.XFrame xFrame,
IOfficeConnection officeConnection)
Constructs new Frame. |
|
Frame(com.sun.star.frame.XFrame xFrame,
IServiceProvider serviceProvider)
Constructs new Frame. |
|
| Method Summary | |
|---|---|
void |
addDispatchDelegate(java.lang.String commandURL,
IDispatchDelegate dispatchDelegate)
Adds a dispatch delegate for the submitted command URL. |
void |
close()
Closes the frame. |
void |
disableDispatch(java.lang.String commandURL)
Disables the command dispatch related to the submitted command URL. |
IDispatch |
getDispatch(java.lang.String commandURL)
Returns dispatch for the submitted command URL. |
ILayoutManager |
getLayoutManager()
Returns layout manager of the frame. |
com.sun.star.frame.XFrame |
getXFrame()
Returns OpenOffice.org XFrame interface. |
void |
removeDispatchDelegate(java.lang.String commandURL)
Removes the dispatch delegate for the submitted command URL. |
void |
setFocus()
Focuses the frame. |
void |
showPreview()
Aktivates the print preview for the frame. |
void |
showPreview(int columns,
int rows)
Aktivates the print preview for the frame with the given columns and rows. |
void |
updateDispatches()
Updates the current dispatches. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Frame(com.sun.star.frame.XFrame xFrame,
IOfficeConnection officeConnection)
xFrame - OpenOffice.org XFrame interface to be usedofficeConnection - office connection to be used
public Frame(com.sun.star.frame.XFrame xFrame,
IServiceProvider serviceProvider)
xFrame - OpenOffice.org XFrame interface to be usedserviceProvider - service provider to be used| Method Detail |
|---|
public com.sun.star.frame.XFrame getXFrame()
getXFrame in interface IFrame
public ILayoutManager getLayoutManager()
throws NOAException
getLayoutManager in interface IFrameNOAException - if the layout manager can not be requestedpublic void disableDispatch(java.lang.String commandURL)
IFrame.updateDispatches().
disableDispatch in interface IFramecommandURL - URL of the commandGlobalCommands
public void addDispatchDelegate(java.lang.String commandURL,
IDispatchDelegate dispatchDelegate)
IFrame.updateDispatches().
addDispatchDelegate in interface IFramecommandURL - command URL to be useddispatchDelegate - dispatch delegate to be addedpublic void removeDispatchDelegate(java.lang.String commandURL)
IFrame.updateDispatches().
removeDispatchDelegate in interface IFramecommandURL - command URL to be used
public IDispatch getDispatch(java.lang.String commandURL)
throws NOAException
getDispatch in interface IFramecommandURL - command URL of the dispatch
NOAException - if a dispatch for the submitted command URL
can not be providedpublic void close()
close in interface IFramepublic void setFocus()
setFocus in interface IFramepublic void updateDispatches()
updateDispatches in interface IFrame
public void showPreview()
throws NOAException
showPreview in interface IFrameNOAException - if there is an error showing the preview
public void showPreview(int columns,
int rows)
throws NOAException
showPreview in interface IFramecolumns - the number of columns to displayrows - the number of rows to display
NOAException - if there is an error showing the preview
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||