com.greenpepper.annotation.EnteredAnnotation Maven / Gradle / Ivy
package com.greenpepper.annotation;
import static com.greenpepper.GreenPepper.$;
import com.greenpepper.Text;
/**
* EnteredAnnotation class.
*
* @author oaouattara
* @version $Id: $Id
*/
public class EnteredAnnotation implements Annotation
{
/** {@inheritDoc} */
public void writeDown(Text text)
{
text.setStyle( Styles.BACKGROUND_COLOR, Colors.GREEN );
text.setStatus( Status.SUCCESS );
text.setContent( message() );
}
private String message()
{
return "" + $("entered") + "";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy