Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.util
Interface IProgressNotificationListener

All Known Implementing Classes:
BBSplashScreen

public interface IProgressNotificationListener


Method Summary
 void addLogMessage(java.lang.String msg)
          Append a message to the logging area.
 int getCurrentStatusBarProgress()
          Get current status bar progress.
 int getStatusBarTotal()
          Get current status bar total.
 boolean isStillValid()
          Check if notification listener is valid.
 void setCurrentStatus(java.lang.String status)
          Set current status text.
 void setCurrentStatusBarProgress(int progress)
          Set current progress.
 void setStatusBarTotal(int total)
          Set the total for status bar percentage calculation.
 

Method Detail

setCurrentStatus

void setCurrentStatus(java.lang.String status)
Set current status text.

Parameters:
status - current status

addLogMessage

void addLogMessage(java.lang.String msg)
Append a message to the logging area.

Parameters:
msg - message to append

setStatusBarTotal

void setStatusBarTotal(int total)
Set the total for status bar percentage calculation. The value supplied to setCurrentStatusBarProgress should be less to equal to the total. Invoking this method resets the current total.

Parameters:
total - status bar total

getStatusBarTotal

int getStatusBarTotal()
Get current status bar total.

Returns:
current total

setCurrentStatusBarProgress

void setCurrentStatusBarProgress(int progress)
Set current progress. The value should be less or equal to the total. The implementing calculates progress/total to get the current status bar percentage.

Parameters:
progress - current progress

getCurrentStatusBarProgress

int getCurrentStatusBarProgress()
Get current status bar progress. The value is between 0 and status bar total

Returns:
current progress

isStillValid

boolean isStillValid()
Check if notification listener is valid. Name retardation due to RIM verification error when using isValid.

Returns:
true if listener will accept progress updates

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.