|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplugins.wlx.WLXPluginAdapter
plugins.wlx.SwingWLXPlugin
public abstract class SwingWLXPlugin
| Field Summary |
|---|
| Fields inherited from interface plugins.wlx.WLXPluginInterface |
|---|
LC_COPY, LC_NEWPARAMS, LC_SELECT_ALL, LC_SETPERCENT, LCP_ANSI, LCP_ASCII, LCP_CENTER, LCP_FITLARGERONLY, LCP_FITTOWINDOW, LCP_FORCESHOW, LCP_VARIABLE, LCP_WRAPTEXT, LCS_BACKWARDS, LCS_FINDFIRST, LCS_MATCHCASE, LCS_WHOLEWORDS, LISTPLUGIN_ERROR, LISTPLUGIN_OK |
| Constructor Summary | |
|---|---|
SwingWLXPlugin()
Create a plugin with variable lister window size. |
|
SwingWLXPlugin(boolean fixedSize)
Create a plugin with fixed/variable lister window size. |
|
| Method Summary | |
|---|---|
abstract javax.swing.JFrame |
createJFrame()
Create a new JFrame window. |
protected int |
getHeight(javax.swing.JFrame frame)
If the plugin was created with fixed lister window size. |
protected int |
getWidth(javax.swing.JFrame frame)
If the plugin was created with fixed lister window size. |
void |
listCloseWindow(int listWin)
ListCloseWindow is called when a user closes lister, or loads a different file. |
abstract void |
listCloseWindow(javax.swing.JFrame frame)
ListCloseWindow is called when a user closes lister, or loads a different file. |
int |
listLoad(int parentWin,
java.lang.String input,
int showFlags)
ListLoad is called when a user opens lister with F3 or the Quick View Panel with Ctrl+Q, and when the definition string either doesn't exist, or its evaluation returns true. |
abstract void |
listLoad(javax.swing.JFrame frame,
java.lang.String input,
int showFlags)
ListLoad is called when a user opens lister with F3 or the Quick View Panel with Ctrl+Q, and when the definition string either doesn't exist, or its evaluation returns true. |
| Methods inherited from class plugins.wlx.WLXPluginAdapter |
|---|
getHWND, getHWND2, listDefaultGetParams, listGetDetectString, listGetPreviewBitmap, listLoadNext, listNotificationReceived, listPrint, listSearchDialog, listSearchText, listSendCommand, setSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwingWLXPlugin()
public SwingWLXPlugin(boolean fixedSize)
fixedSize - true - use a fixed sized lister window according to getWidth()
and getHeight(), otherwise variable size.| Method Detail |
|---|
public final int listLoad(int parentWin,
java.lang.String input,
int showFlags)
listLoad in interface WLXPluginInterfacelistLoad in class WLXPluginAdapterparentWin - This is lister's window. Create your plugin window as a child
of this window.input - The name of the file which has to be loaded.showFlags - A combination of the following flags:
public final void listCloseWindow(int listWin)
listCloseWindow in interface WLXPluginInterfacelistCloseWindow in class WLXPluginAdapterlistWin - This is the window handle which needs to be destroyed.public abstract javax.swing.JFrame createJFrame()
e.g. return new JFrame("My Demo");
public abstract void listLoad(javax.swing.JFrame frame,
java.lang.String input,
int showFlags)
frame - This is the JFrame instance created by createFrame().input - The name of the file which has to be loaded.showFlags - A combination of the following flags:
public abstract void listCloseWindow(javax.swing.JFrame frame)
frame - This is the JFrame instance created by createFrame().protected int getHeight(javax.swing.JFrame frame)
frame - This is the JFrame instance created by createFrame().
protected int getWidth(javax.swing.JFrame frame)
frame - This is the JFrame instance created by createFrame().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||