cafe.gui.general
Interface ViewEvent

All Known Implementing Classes:
NPanel

public interface ViewEvent

When NPanel is created in this package it makes buttons that use this interface to tell NPanel when button is pressed.

Author:
Joni

Method Summary
 void changeConfigView()
          ConfigButton calls when button pressed.
 void changeImportView()
          ImportButton calls when button pressed.
 void changeShopView()
          ShopButton calls when button pressed.
 void changeStartView()
          LogoutButton calls when button pressed.
 void nextLanguage()
          LanguageButton calls when nextlanguage is needed Tells to NPanel that next language should be chanced.
 

Method Detail

nextLanguage

void nextLanguage()
LanguageButton calls when nextlanguage is needed Tells to NPanel that next language should be chanced.


changeImportView

void changeImportView()
ImportButton calls when button pressed. Tells to NPanel that should to chance to ImportView.


changeStartView

void changeStartView()
LogoutButton calls when button pressed. Tells to NPanel that should to chance to StartView.


changeShopView

void changeShopView()
ShopButton calls when button pressed. Tells to NPanel that should to chance to ShopView.


changeConfigView

void changeConfigView()
ConfigButton calls when button pressed. Tells to NPanel that should to chance to ConfigView.