Package snap.viewx

Interface Console

All Known Implementing Classes:
DefaultConsole

public interface Console
This class provides an interface to users.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    An interface for a helper.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the console view.
    int
    Returns the number of items on the console.
    static Console
    Returns the shared console.
    void
    Resets the console.
    static void
    Sets the console created handler.
    static void
    setShared(Console aConsole)
    Sets the shared console.
    void
    show(Object anObj)
    Shows the given object to user.
  • Method Details

    • show

      void show(Object anObj)
      Shows the given object to user.
    • resetConsole

      void resetConsole()
      Resets the console.
    • getItemCount

      int getItemCount()
      Returns the number of items on the console.
    • getConsoleView

      View getConsoleView()
      Returns the console view.
    • getShared

      static Console getShared()
      Returns the shared console.
    • setShared

      static void setShared(Console aConsole)
      Sets the shared console.
    • setConsoleCreatedHandler

      static void setConsoleCreatedHandler(Runnable aRun)
      Sets the console created handler.