Android Open Source - crop B T N

From Project

Back to project page crop.


The source code is released under:

Apache License

If you think the Android project crop listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package net.flask.crop.ui;
/* w  ww .j  a va2s .c  om*/
public enum BTN {
  FIT2SCREEN("Fit to screen"),

  private String text;

  private BTN(String text) {
    this.text = text;

  public static BTN getBTN(String text) {
    for (BTN btn : values()) {
      if (btn.getText().equals(text))
        return btn;
    return null;

  public String getText() {
    return text;

Java Source Code List