ch.odi.justblog.gui.swing.control
Class Controller

java.lang.Object
  extended bych.odi.justblog.gui.swing.control.Controller
All Implemented Interfaces:
ButtonBarController, UrlBarController

public class Controller
extends java.lang.Object
implements UrlBarController, ButtonBarController

Controller for the main window.

Author:
oglueck

Constructor Summary
Controller(SwingUi gui)
           
 
Method Summary
 void clearEntry()
          Called when the user presses the Clear button.
 void newUrl(java.lang.String urlstring)
          Called when the user entered a new URL into the address bar.
 void postEntry()
          Called when the user presses the Post button.
 void setView(MainWindow view)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Controller

public Controller(SwingUi gui)
Method Detail

setView

public void setView(MainWindow view)

newUrl

public void newUrl(java.lang.String urlstring)
Description copied from interface: UrlBarController
Called when the user entered a new URL into the address bar.

Specified by:
newUrl in interface UrlBarController
Parameters:
urlstring - The new URL

postEntry

public void postEntry()
Description copied from interface: ButtonBarController
Called when the user presses the Post button.

Specified by:
postEntry in interface ButtonBarController

clearEntry

public void clearEntry()
Description copied from interface: ButtonBarController
Called when the user presses the Clear button.

Specified by:
clearEntry in interface ButtonBarController


Copyright © 2005 Ortwin Glück. All Rights Reserved.