|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprogram.MainWinController
public class MainWinController
Constructor Summary | |
---|---|
MainWinController(java.io.File filePlugins)
Creates a new instance. |
Method Summary | |
---|---|
void |
choosePlugin(int index)
Changes the plugin to be in use. |
void |
draw()
Calculates and draws the actual arcs. |
void |
getItems()
A function called when the plugins getItems functions should be called. |
java.util.List |
getItems2()
Returns the actual list of items. |
IArcPlugin |
getPlugin()
Returns the actually used plugin. |
static void |
main(java.lang.String[] args)
Main function. |
void |
reDraw()
A function called when the plugins items should be re-anaylized. |
void |
setAutoDraw(boolean autoDraw)
Sets the auto-draw option. |
void |
setMaxSubstrLength(int iMaxSubstrLength)
Sets the minimal 'substring' length. |
void |
setMinSubstrLength(int iMinSubstrLength)
Sets the minimal 'substring' length. |
void |
showDescription(boolean descr)
Sets the 'description visible' option. |
void |
zoomFit()
Zooms to a position making it possible to see all arcs. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MainWinController(java.io.File filePlugins)
filePlugins
- An plugin definition XML file, defining the plugins to integrate. See plugins.xml for an example.Method Detail |
---|
public void choosePlugin(int index)
index
- the plugins index in the plugin definition XML file.public void zoomFit()
public void draw()
public void reDraw()
IObserver
reDraw
in interface IObserver
public void getItems()
IObserver
getItems
in interface IObserver
IArcPlugin.getItems()
public void setAutoDraw(boolean autoDraw)
public void showDescription(boolean descr)
IArcPlugin.getDescription()
public void setMinSubstrLength(int iMinSubstrLength)
public void setMaxSubstrLength(int iMaxSubstrLength)
iMaxSubstrLength
- public static void main(java.lang.String[] args)
public IArcPlugin getPlugin()
public java.util.List getItems2()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |