com.greenpepper.Text Maven / Gradle / Ivy
package com.greenpepper;
/*
would be nice to consider using a builder style, e.g.
emphasize();
emphasizeEnd();
strong();
strongEnd();
...
horizontalLine();
newLine();
...
*/
import com.greenpepper.annotation.Status;
/**
* Text interface.
*
* @author oaouattara
* @version $Id: $Id
*/
public interface Text
{
/**
* setCssClasses.
*
* @param classes a {@link java.lang.String} object.
*/
void setCssClasses(String ... classes);
/**
* getCssClasses.
*
* @return an array of {@link java.lang.String} objects.
*/
String[] getCssClasses();
/**
* setStyle.
*
* @param property a {@link java.lang.String} object.
* @param value a {@link java.lang.String} object.
*/
void setStyle(String property, String value);
/**
* getStyle.
*
* @param property a {@link java.lang.String} object.
* @return a {@link java.lang.String} object.
*/
String getStyle(String property);
/**
* setStatus.
*
* @param value a {@link java.lang.String} object.
*/
void setStatus(Status value);
/**
* setContent.
*
* @param content a {@link java.lang.String} object.
*/
void setContent(String content);
/**
* getContent.
*
* @return a {@link java.lang.String} object.
*/
String getContent();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy