com.jagacy.ui
Interface UserInterface

All Known Implementing Classes:
AbstractSwing

public interface UserInterface

User interface for Jagacy session.

Since:
Jagacy 3270 1.4, Jagacy VT 1.1
Author:
Robert M. Preston

Field Summary
static int ERROR_LEVEL
           
static int INFO_LEVEL
           
static int WARN_LEVEL
           
 
Method Summary
 void beginTime()
          Notifies the UI that a screen has been requested.
 void close()
          Closes the UI.
 void endTime()
          Notifies the UI that a screen has been received.
 void notify(int level, java.lang.String title, java.lang.String message)
          Notifies the UI that an important event has occurred.
 void resetTime()
          Clears the time component.
 void setLocked(boolean isLocked)
          Indicates whether or not the keyboard is locked.
 void update()
          Notifies the UI that the screen has been updated.
 

Field Detail

INFO_LEVEL

public static final int INFO_LEVEL
See Also:
Constant Field Values

WARN_LEVEL

public static final int WARN_LEVEL
See Also:
Constant Field Values

ERROR_LEVEL

public static final int ERROR_LEVEL
See Also:
Constant Field Values
Method Detail

update

public void update()
            throws JagacyException
Notifies the UI that the screen has been updated.

Throws:
JagacyException - If an error occurs.

resetTime

public void resetTime()
Clears the time component.

Since:
Jagacy 3270 1.5, Jagacy VT 1.0

beginTime

public void beginTime()
Notifies the UI that a screen has been requested.


endTime

public void endTime()
Notifies the UI that a screen has been received.


setLocked

public void setLocked(boolean isLocked)
Indicates whether or not the keyboard is locked.

Parameters:
isLocked - true if locked; false otherwise.

notify

public void notify(int level,
                   java.lang.String title,
                   java.lang.String message)
Notifies the UI that an important event has occurred.

Parameters:
level - Event level.
title - Event title.
message - Event message.
Since:
Jagacy 3270 1.5, Jagacy VT 1.1

close

public void close()
Closes the UI.