All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fastchar.extjs.core.heads.FastHeadExtInfo Maven / Gradle / Ivy

There is a newer version: 2.2.2
Show newest version
package com.fastchar.extjs.core.heads;

import com.fastchar.utils.FastStringUtils;

public class FastHeadExtInfo extends FastHeadInfo {
    public FastHeadExtInfo() {
        this.setTagName("ext");
    }
    private String name;
    private String value;
    private String href;
    private String content;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getColorValue() {
        return "#" + FastStringUtils.stripStart(getValue(), "#");
    }


    @Override
    public boolean isWriteHtml() {
        return false;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy