com.sdm.quasar.client.showcase.jsf.dialogs.embedding.dynamic
Class EmbeddedSearchDialog

java.lang.Object
  extended bycom.sdm.quasar.client.core.dialog.AbstractFeature
      extended bycom.sdm.quasar.client.showcase.jsf.dialogs.embedding.dynamic.EmbeddedSearchDialog
All Implemented Interfaces:
Feature, SystemInfoProvider

public class EmbeddedSearchDialog
extends AbstractFeature

This dialog demonstrates dynamic dialog embedding. It's a sub dialog of the DynamicEmbeddingDialog. It contains a filter string, which can be changed by the user. The filter is set by calling the EmbeddedDialogService.

Author:
Erika Buchholz, sd&m AG

Constructor Summary
EmbeddedSearchDialog()
           
 
Method Summary
 void clearFilter()
          Clears the content of the filter.
 void dispose()
          Called when the feature or dialog is disposed.
 java.lang.String getFilter()
           
 void init()
          Called when the feature is initializing.
 void search()
          Triggers a search for the filter typed by the user.
 void setFilter(java.lang.String filter)
           
 
Methods inherited from class com.sdm.quasar.client.core.dialog.AbstractFeature
activate, attachDialogControl, collectSystemInfo, deactivate, disposeFeature, getDialogControl, isInitialized, prepare, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedSearchDialog

public EmbeddedSearchDialog()
Method Detail

getFilter

public java.lang.String getFilter()

setFilter

public void setFilter(java.lang.String filter)

init

public void init()
Description copied from class: AbstractFeature
Called when the feature is initializing. This is normally done, when the feature is connected to the lifecycle of the DialogControl installed to. To access the DialogControl use the AbstractFeature.getDialogControl() method.

Override this method to perform some action on initialization e.g. register public services.

Specified by:
init in class AbstractFeature

dispose

public void dispose()
Description copied from class: AbstractFeature
Called when the feature or dialog is disposed. Override this method to clean up resources and free memory when disposing.

Specified by:
dispose in class AbstractFeature

search

public void search()
Triggers a search for the filter typed by the user.


clearFilter

public void clearFilter()
Clears the content of the filter.