|
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 usedpublic Frame(com.sun.star.frame.XFrame xFrame, IServiceProvider serviceProvider)
xFrame
- OpenOffice.org XFrame interface to be usedserviceProvider
- service provider to be usedMethod Detail |
---|
public com.sun.star.frame.XFrame getXFrame()
getXFrame
in interface IFrame
public ILayoutManager getLayoutManager() throws NOAException
getLayoutManager
in interface IFrame
NOAException
- if the layout manager can not be requestedpublic void disableDispatch(java.lang.String commandURL)
IFrame.updateDispatches()
.
disableDispatch
in interface IFrame
commandURL
- URL of the commandGlobalCommands
public void addDispatchDelegate(java.lang.String commandURL, IDispatchDelegate dispatchDelegate)
IFrame.updateDispatches()
.
addDispatchDelegate
in interface IFrame
commandURL
- command URL to be useddispatchDelegate
- dispatch delegate to be addedpublic void removeDispatchDelegate(java.lang.String commandURL)
IFrame.updateDispatches()
.
removeDispatchDelegate
in interface IFrame
commandURL
- command URL to be usedpublic IDispatch getDispatch(java.lang.String commandURL) throws NOAException
getDispatch
in interface IFrame
commandURL
- command URL of the dispatch
NOAException
- if a dispatch for the submitted command URL
can not be providedpublic void close()
close
in interface IFrame
public void setFocus()
setFocus
in interface IFrame
public void updateDispatches()
updateDispatches
in interface IFrame
public void showPreview() throws NOAException
showPreview
in interface IFrame
NOAException
- if there is an error showing the previewpublic void showPreview(int columns, int rows) throws NOAException
showPreview
in interface IFrame
columns
- 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 |