T-Plan Robot Enterprise 3.5.1
Build No. 3.5.1-20140411.1

com.tplan.robot.gui.capture
Class ComponentCaptureAction

java.lang.Object
  extended by com.tplan.robot.gui.capture.ComponentCaptureAction
All Implemented Interfaces:
ItemListener, PropertyChangeListener, EventListener

public class ComponentCaptureAction
extends Object
implements ItemListener, PropertyChangeListener

Component Capture top level controller.


T-Plan Robot Enterprise, (C) 2009-2014 T-Plan Limited. All rights reserved.


Constructor Summary
ComponentCaptureAction(MainFrame frame, boolean fullMode, File path)
           
 
Method Summary
 long getDelay()
          Get the capture delay.
static ComponentCaptureAction getInstance()
           
 AbstractButton getOwner()
           
 void itemStateChanged(ItemEvent e)
           
 void propertyChange(PropertyChangeEvent evt)
           
 void setDelay(long delay)
          Set the capture delay.
 void setMode(boolean fullMode, File path, String collection)
           
 void setOwner(AbstractButton btn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentCaptureAction

public ComponentCaptureAction(MainFrame frame,
                              boolean fullMode,
                              File path)
Method Detail

getInstance

public static ComponentCaptureAction getInstance()

setMode

public void setMode(boolean fullMode,
                    File path,
                    String collection)

itemStateChanged

public void itemStateChanged(ItemEvent e)
Specified by:
itemStateChanged in interface ItemListener

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener

getOwner

public AbstractButton getOwner()
Returns:
the item

setOwner

public void setOwner(AbstractButton btn)

getDelay

public long getDelay()
Get the capture delay.

Returns:
the capture delay in milliseconds. The default value is 0 indicating that the capture should be performed immediately.
Since:
3.5.1

setDelay

public void setDelay(long delay)
Set the capture delay.

Parameters:
delay - the capture delay in milliseconds.
Since:
3.5.1

T-Plan Robot Enterprise 3.5.1
Build No. 3.5.1-20140411.1