jborgchartparams.java

来自「OPIAM stands for Open Identity and Acces」· Java 代码 · 共 85 行

JAVA
85
字号
/*
 * OPIAM Suite
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package opiam.admin.faare.config.javabeans;


/**
 * This class conveys OrgChart parameters.
 * These parameters are : cell background color and default photo.
 */
public class JBOrgChartParams implements java.io.Serializable
{
    //DW/2673//BeginPatch
    /** orgchart background color. */
    private JBColor backgroundColor;
    //DW/2673//EndPatch
	
    /** cell background color. */
    private JBColor cellColor;

    /** default photo full file name. */
    private String defaultPhoto;


    //DW/2673//BeginPatch    
    /**
     * Sets the orgchart background color. Default is white.
     * @param value the background color.
     */
    public void setBackgroundColor(JBColor value)
    {
        this.backgroundColor = value;
    }

    /**
     * Gets the orgchart background color.
     * @return the background color.
     */
    public JBColor getBackgroundColor()
    {
        return this.backgroundColor;
    }
    //DW/2673//EndPatch    
    
    /**
     * Sets the cell background color. Default is lightGray.
     * @param value the cell color.
     */
    public void setCellColor(JBColor value)
    {
        this.cellColor = value;
    }

    /**
     * Gets the cell background color.
     * @return the cell color.
     */
    public JBColor getCellColor()
    {
        return this.cellColor;
    }

    /**
     * Sets the default photo full file name. Default is none.
     * @param value the file name.
     */
    public void setDefaultPhoto(String value)
    {
        this.defaultPhoto = value;
    }

    /**
     * Gets the default photo full file name.
     * @return the file name.
     */
    public String getDefaultPhoto()
    {
        return this.defaultPhoto;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?