|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.event.MouseAdapter de.uni_leipzig.cvk.gui.Application
public class Application
The Application class is used to build all Swing components
with all other classes in this package and with a Model
instance
to get all necessary data.
Nested Class Summary | |
---|---|
(package private) static class |
Application.MenuArrowIcon
Adding an arrow to Icon |
(package private) static class |
Application.MenuToggleButton
Adding JPopupMenu to JToolBar-Button |
Field Summary | |
---|---|
static int |
HEIGHT
|
static java.lang.String |
LOGO
|
static java.lang.String |
NAME
|
static int |
WIDTH
|
Constructor Summary | |
---|---|
Application(Model model)
Constructs a new Application by initializing a AggregatePanel ,
ClusterPanel and a GraphStatisticPanel Observer instance
and some other Swing components with data of the given Model instance data. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
javax.swing.JPanel |
getJContentPane()
This method initializes jContentPane |
javax.swing.JFileChooser |
getOpenChooser()
|
javax.swing.JFileChooser |
getSaveChooser()
|
void |
keyPressed(java.awt.event.KeyEvent e)
keyPressed(KeyEvent e) to actionPerformed(ActionEvent e) |
void |
keyReleased(java.awt.event.KeyEvent e)
Empty |
void |
keyTyped(java.awt.event.KeyEvent e)
Empty |
void |
mouseClicked(java.awt.event.MouseEvent e)
Sets focus to clicked Component |
Methods inherited from class java.awt.event.MouseAdapter |
---|
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int HEIGHT
public static final java.lang.String LOGO
public static final java.lang.String NAME
public static final int WIDTH
Constructor Detail |
---|
public Application(Model model)
AggregatePanel
,
ClusterPanel
and a GraphStatisticPanel
Observer
instance
and some other Swing components with data of the given Model
instance data.
Registers all the Observers to the given model.
model
- the Model
instance contains the data.Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public javax.swing.JPanel getJContentPane()
public javax.swing.JFileChooser getOpenChooser()
public javax.swing.JFileChooser getSaveChooser()
public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class java.awt.event.MouseAdapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |