Class TournoiFrame

java.lang.Object
fr.uga.miage.pc.dilemme.front.TournoiFrame
All Implemented Interfaces:
IObserver

@Deprecated
public final class TournoiFrame
extends java.lang.Object
implements IObserver
Deprecated.
This class is used like a window, it shows the menu and the possibility for the user on the console
Since:
3.0
  • Method Summary

    Modifier and Type Method Description
    void afficheMenu()
    Deprecated.
    static TournoiFrame getInstance()
    Deprecated.
    void notifier()
    Deprecated.
    Action made by the Observer when the Observeable notify it
    protected boolean openWebPage​(java.lang.String url)
    Deprecated.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • getInstance

      @Deprecated public static final TournoiFrame getInstance()
      Deprecated.
      Returns:
      The instance of the JDilemme Frame
      Since:
      3.0
    • afficheMenu

      @Deprecated public final void afficheMenu()
      Deprecated.
      Show the menu of the object in order to let the user choose what it wants to do
      Since:
      3.0
    • openWebPage

      @Deprecated protected final boolean openWebPage​(java.lang.String url) throws java.lang.Exception
      Deprecated.
      Open a web page to the link given in parameter if the Desktop class is supported
      Parameters:
      url - - The link of the web page to open in the web browser
      Returns:
      true if the web page is open
      Throws:
      java.lang.Exception - Throw if the Desktop class is not supported on the user system
      java.lang.Exception - If the url is null
      Since:
      3.0
    • notifier

      public void notifier()
      Deprecated.
      Action made by the Observer when the Observeable notify it
      Specified by:
      notifier in interface IObserver