info.magnolia.imaging.operations.cropresize
Class CroppingInfo

java.lang.Object
  extended by info.magnolia.imaging.operations.cropresize.CroppingInfo

public class CroppingInfo
extends Object

Holds the result of a human selection in a cropping UI component. The cropui module, for instance, stores instances of this (in the form of a JSon string) into the repository.

Version:
$Id$

Constructor Summary
CroppingInfo()
           
CroppingInfo(String configName, Coords coords)
           
 
Method Summary
 boolean equals(Object o)
           
 String getConfigName()
           
 Coords getCoords()
           
 int hashCode()
           
 void setConfigName(String configName)
           
 void setCoords(Coords coords)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CroppingInfo

public CroppingInfo(String configName,
                    Coords coords)

CroppingInfo

public CroppingInfo()
Method Detail

getConfigName

public String getConfigName()

setConfigName

public void setConfigName(String configName)

getCoords

public Coords getCoords()

setCoords

public void setCoords(Coords coords)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.