All Packages Class Hierarchy This Package Previous Next Index
Class vnr.ide.ClassListView
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----com.sun.java.swing.JComponent
|
+----com.sun.java.swing.JPanel
|
+----vnr.ide.ProjectDetailsView
|
+----vnr.ide.ClassListView
- public class ClassListView
- extends ProjectDetailsView
- implements ActionListener, MouseListener, ListSelectionListener
ClassListView for VNRJ
this class is used to display a list of classes for editing
1997-11-01 dlg Created
-
ClassListView()
- default constructor - call super class, set border layout, add gui
-
ClassListView(Project, Desktop)
- constructor that takes a project - call default constructor, and set project
-
actionPerformed(ActionEvent)
-
-
getSelectedObject()
- In ClassListView, we only display NetRexxClasses, so the selected object will be a class or null
-
mouseClicked(MouseEvent)
- mouseClicked method - if double clicked, invoke edit action
-
mouseEntered(MouseEvent)
-
-
mouseExited(MouseEvent)
-
-
mousePressed(MouseEvent)
-
-
mouseReleased(MouseEvent)
-
-
setDesktop(Desktop)
- set the desktop for this object
-
setWorkProject(Project)
- change project - empty the list, and fetch classes from the project, adding them to it
-
valueChanged(ListSelectionEvent)
- valueChanged(ListSelectionEvent) - select of the list changed
ClassListView
public ClassListView()
- default constructor - call super class, set border layout, add gui
ClassListView
public ClassListView(Project prj,
Desktop d)
- constructor that takes a project - call default constructor, and set project
setWorkProject
public void setWorkProject(Project prj)
- change project - empty the list, and fetch classes from the project, adding them to it
- Overrides:
- setWorkProject in class ProjectDetailsView
setDesktop
public void setDesktop(Desktop d)
- set the desktop for this object
- Overrides:
- setDesktop in class ProjectDetailsView
valueChanged
public void valueChanged(ListSelectionEvent lse)
- valueChanged(ListSelectionEvent) - select of the list changed
mouseClicked
public void mouseClicked(MouseEvent me)
- mouseClicked method - if double clicked, invoke edit action
getSelectedObject
public Object getSelectedObject()
- In ClassListView, we only display NetRexxClasses, so the selected object will be a class or null
- Returns:
- the selected object in this view.
- Overrides:
- getSelectedObject in class ProjectDetailsView
actionPerformed
public void actionPerformed(ActionEvent $1)
mouseExited
public void mouseExited(MouseEvent $2)
mousePressed
public void mousePressed(MouseEvent $3)
mouseEntered
public void mouseEntered(MouseEvent $4)
mouseReleased
public void mouseReleased(MouseEvent $5)
All Packages Class Hierarchy This Package Previous Next Index