Class ProjectView.ProjectViewEvent
- java.lang.Object
-
- ca.cgjennings.apps.arkham.project.ProjectView.ProjectViewEvent
-
- Enclosing class:
- ProjectView
public static class ProjectView.ProjectViewEvent extends java.lang.Object
The event object supplied to listeners of project view events when an event is fired.
-
-
Constructor Summary
Constructors Constructor Description ProjectViewEvent(ProjectView view)
Creates a new project view event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Project
getProject()
Returns the project associated with this event.Member[]
getSelection()
Returns the selection at the time occurred.ProjectView
getSource()
Returns the view associated with this event.
-
-
-
Constructor Detail
-
ProjectViewEvent
public ProjectViewEvent(ProjectView view)
Creates a new project view event.- Parameters:
view
- the view to create an event for
-
-
Method Detail
-
getSource
public ProjectView getSource()
Returns the view associated with this event.- Returns:
- the project view in which the selection changed
-
getProject
public Project getProject()
Returns the project associated with this event.- Returns:
- the project displayed in the view
-
getSelection
public Member[] getSelection()
Returns the selection at the time occurred.- Returns:
- a copy of the selected members
-
-