com.opera.core.systems.model
Class ScreenShotReply

java.lang.Object
  extended by com.opera.core.systems.model.ScreenShotReply

public class ScreenShotReply
extends Object

A wrapper object for screenshot reply, is used to overcome the problem of two different protocols (XML/PB)

Author:
Deniz Turkoglu

Field Summary
protected  boolean blank
           
protected  List<ColorResult> colorResult
           
protected  boolean crashed
           
protected  String md5
           
protected  byte[] png
           
protected  int windowId
           
 
Constructor Summary
ScreenShotReply(String md5)
           
ScreenShotReply(String md5, byte[] png)
           
ScreenShotReply(String md5, List<ColorResult> colorResult)
           
 
Method Summary
 List<ColorResult> getColorResult()
           
 String getMd5()
           
 byte[] getPng()
           
 int getWindowId()
           
 boolean isBlank()
           
 boolean isCrashed()
           
 void setBlank(boolean blank)
           
 void setColorResult(List<ColorResult> colorResult)
           
 void setCrashed(boolean crashed)
           
 void setMd5(String md5)
           
 void setPng(byte[] png)
           
 void setWindowId(int windowId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

windowId

protected int windowId

md5

protected String md5

png

protected byte[] png

blank

protected boolean blank

crashed

protected boolean crashed

colorResult

protected List<ColorResult> colorResult
Constructor Detail

ScreenShotReply

public ScreenShotReply(String md5)

ScreenShotReply

public ScreenShotReply(String md5,
                       byte[] png)

ScreenShotReply

public ScreenShotReply(String md5,
                       List<ColorResult> colorResult)
Method Detail

getColorResult

public List<ColorResult> getColorResult()

setColorResult

public void setColorResult(List<ColorResult> colorResult)

getWindowId

public int getWindowId()

setWindowId

public void setWindowId(int windowId)

getMd5

public String getMd5()

setMd5

public void setMd5(String md5)

getPng

public byte[] getPng()

setPng

public void setPng(byte[] png)

isBlank

public boolean isBlank()

setBlank

public void setBlank(boolean blank)

isCrashed

public boolean isCrashed()

setCrashed

public void setCrashed(boolean crashed)


Copyright © 2012. All Rights Reserved.