com.teamdev.jxbrowser.prompt
Class SilentPromptService

java.lang.Object
  extended by com.teamdev.jxbrowser.prompt.SilentPromptService
All Implemented Interfaces:
PromptService

public class SilentPromptService
extends java.lang.Object
implements PromptService

The silent PromptService implementation that don't display UI dialogs and just returns the default dialog options.


Constructor Summary
SilentPromptService()
           
 
Method Summary
 void alertRequested(DialogParams params)
          This method do nothing.
 CloseStatus badCertificateRequested(DialogParams params)
          This method do nothing and just returns the CloseStatus.OK.
 CloseStatus confirmationRequested(DialogParams params)
          This method do nothing and just returns the CloseStatus.OK.
 CloseStatus loginRequested(LoginParams info)
          This method do nothing and just returns the CloseStatus.OK.
 CloseStatus promptRequested(PromptDialogParams params)
          This method do nothing and just returns the CloseStatus.OK.
 CloseStatus scriptErrorRequested(ScriptErrorParams info)
          This method do nothing and just returns the CloseStatus.OK.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SilentPromptService

public SilentPromptService()
Method Detail

alertRequested

public void alertRequested(DialogParams params)
This method do nothing.

Specified by:
alertRequested in interface PromptService
Parameters:
params - the alert request information.

promptRequested

public CloseStatus promptRequested(PromptDialogParams params)
This method do nothing and just returns the CloseStatus.OK.

Specified by:
promptRequested in interface PromptService
Parameters:
params - the prompt dialog parameters.
Returns:
the CloseStatus.OK.

confirmationRequested

public CloseStatus confirmationRequested(DialogParams params)
This method do nothing and just returns the CloseStatus.OK.

Specified by:
confirmationRequested in interface PromptService
Parameters:
params - the confirmation dialog parameters.
Returns:
the CloseStatus.OK.

loginRequested

public CloseStatus loginRequested(LoginParams info)
This method do nothing and just returns the CloseStatus.OK.

Specified by:
loginRequested in interface PromptService
Parameters:
info - the authentication dialog parameters.
Returns:
the CloseStatus.OK.

badCertificateRequested

public CloseStatus badCertificateRequested(DialogParams params)
This method do nothing and just returns the CloseStatus.OK.

Specified by:
badCertificateRequested in interface PromptService
Parameters:
params - the dialog information.
Returns:
the CloseStatus.OK.

scriptErrorRequested

public CloseStatus scriptErrorRequested(ScriptErrorParams info)
This method do nothing and just returns the CloseStatus.OK.

Specified by:
scriptErrorRequested in interface PromptService
Parameters:
info - the JavaScript error dialog information.
Returns:
the CloseStatus.OK.