cbr.gui
Class SearchController

java.lang.Object
  extended bycbr.gui.SearchController
All Implemented Interfaces:
ActionListener, DocumentListener, EventListener, ListSelectionListener

public class SearchController
extends Object
implements ActionListener, DocumentListener, ListSelectionListener


Field Summary
static String ADD_SERVER
           
static String BROWSE_IMAGE
           
static String BROWSE_LOG_FILE
           
static String BUTTON
           
static String CLOSE
           
static String FETCH
           
static String IMAGE_FILE
           
private  File imageFile_
           
private  File logFile_
           
private  boolean logToFile_
           
private  SearchModel model_
           
static String REMOVE_SERVER
           
static String SEARCH_IMAGE
           
private  int searchCount_
           
private  int[] selectedSLIndices_
           
static String TOGGLE_LOG_FILE_ACTION
           
private  SearchView view_
           
 
Constructor Summary
SearchController()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void changeDocument(DocumentEvent e)
           
 void changedUpdate(DocumentEvent e)
           
 void dropToServerList(Object o)
           
private  void dropToServerList0(Object o)
           
 String getLocalURL()
           
 void insertUpdate(DocumentEvent e)
           
 void log(String log)
           
 void put(PictureEntry[] entries, String id)
           
 void removeUpdate(DocumentEvent e)
           
 void returnImage(Image image)
           
 void setModel(SearchModel model)
           
 void setView(SearchView view)
           
 void valueChanged(ListSelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOGGLE_LOG_FILE_ACTION

public static final String TOGGLE_LOG_FILE_ACTION
See Also:
Constant Field Values

BUTTON

public static final String BUTTON
See Also:
Constant Field Values

ADD_SERVER

public static final String ADD_SERVER
See Also:
Constant Field Values

REMOVE_SERVER

public static final String REMOVE_SERVER
See Also:
Constant Field Values

BROWSE_IMAGE

public static final String BROWSE_IMAGE
See Also:
Constant Field Values

BROWSE_LOG_FILE

public static final String BROWSE_LOG_FILE
See Also:
Constant Field Values

SEARCH_IMAGE

public static final String SEARCH_IMAGE
See Also:
Constant Field Values

IMAGE_FILE

public static final String IMAGE_FILE
See Also:
Constant Field Values

FETCH

public static final String FETCH
See Also:
Constant Field Values

CLOSE

public static final String CLOSE
See Also:
Constant Field Values

view_

private SearchView view_

model_

private SearchModel model_

logToFile_

private boolean logToFile_

imageFile_

private File imageFile_

logFile_

private File logFile_

selectedSLIndices_

private int[] selectedSLIndices_

searchCount_

private int searchCount_
Constructor Detail

SearchController

public SearchController()
Method Detail

setView

public void setView(SearchView view)

setModel

public void setModel(SearchModel model)

dropToServerList

public void dropToServerList(Object o)

dropToServerList0

private void dropToServerList0(Object o)

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

put

public void put(PictureEntry[] entries,
                String id)

getLocalURL

public String getLocalURL()

returnImage

public void returnImage(Image image)

valueChanged

public void valueChanged(ListSelectionEvent e)
Specified by:
valueChanged in interface ListSelectionListener

changedUpdate

public void changedUpdate(DocumentEvent e)
Specified by:
changedUpdate in interface DocumentListener

insertUpdate

public void insertUpdate(DocumentEvent e)
Specified by:
insertUpdate in interface DocumentListener

removeUpdate

public void removeUpdate(DocumentEvent e)
Specified by:
removeUpdate in interface DocumentListener

changeDocument

public void changeDocument(DocumentEvent e)

log

public void log(String log)


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.