Class ProjectTarget

java.lang.Object
se.datadosen.component.search.ProjectTarget
All Implemented Interfaces:
Comparable, Target

public class ProjectTarget extends Object implements Target
Provides the ability to open JAlbum projects
Since:
19
  • Constructor Details

    • ProjectTarget

      public ProjectTarget(File projectFile)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getPath

      public String getPath()
      Specified by:
      getPath in interface Target
      Returns:
      path to Target, used in matching. (Likely same as toString() )
    • toString

      public String toString()
      Specified by:
      toString in interface Target
      Overrides:
      toString in class Object
      Returns:
      Visual path to Target, to be presented in menu
    • open

      public void open(InputEvent ie)
      Description copied from interface: Target
      Ensures that target is opened, and possibly animated
      Specified by:
      open in interface Target