1. /*
  2. * Copyright 1999,2004 The Apache Software Foundation.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /*
  17. * Created on 2007-1-23
  18. *
  19. */
  20. package peaklau.eaglefund;
  21. import javax.microedition.lcdui.Display;
  22. import javax.microedition.lcdui.Displayable;
  23. /**
  24. * This interface is used by all the screen classes.<br>
  25. * The peaklau.eaglefund.Main implements this interface.<br>
  26. *
  27. * <br>
  28. * @author peaklau <br>
  29. * email:<A HREF="mailto:peaklau@hotmail.com">peaklau@hotmail.com</A> <br>
  30. * <a href="http://www.peaklau.com/fund/english/">HomePage</a>
  31. * @version $Revision: 1.1 $ $Date: 2007/05/09 16:07:04 $
  32. */
  33. public interface INavigator {
  34. Displayable getDisplayable(String name);
  35. BaseCanvas getCanvas(String name);
  36. Display getDisplay();
  37. void keyPressed(int keyCode);
  38. String getAppVersion();
  39. void setAppVersion(String version);
  40. HttpClient getHttpClient();
  41. }