📄 jbtrombiparams.java
字号:
/*
* OPIAM Suite
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package opiam.admin.faare.config.javabeans;
/**
* This class conveys Trombinoscope parameters.
* These parameters are : photo background color, text background color, text alignment, photo attribute name,
* default photo.
*/
public class JBTrombiParams implements java.io.Serializable
{
/** text alignment : LEFT, CENTER or RIGHT, default : left. */
private String textAlignment = "LEFT";
/** photo attribute name : default is "photo". */
private String photoAttr = "photo";
/** photo background color. */
private JBColor photoColor;
/** text background color. */
private JBColor textColor;
/** default photo full file name. */
private String defaultPhoto;
/**
* Sets the text alignment parameter. Default: left.
* @param value the text alignment value.
*/
public void setTextAlignment(String value)
{
this.textAlignment = value;
}
/**
* Gets the text alignment parameter.
* @return the text alignment value.
*/
public String getTextAlignment()
{
return this.textAlignment;
}
/**
* Sets the photo attribute name. Default is "photo".
* @param value the photo attribute name.
*/
public void setPhotoAttr(String value)
{
this.photoAttr = value;
}
/**
* Gets the photo attribute name.
* @return the photo attribute name.
*/
public String getPhotoAttr()
{
return this.photoAttr;
}
/**
* Sets the photo background color. Default is lightGray.
* @param value the photo color.
*/
public void setPhotoColor(JBColor value)
{
this.photoColor = value;
}
/**
* Gets the photo background color.
* @return the photo color.
*/
public JBColor getPhotoColor()
{
return this.photoColor;
}
/**
* Sets the text background color. Default is lightGray.
* @param value the text color.
*/
public void setTextColor(JBColor value)
{
this.textColor = value;
}
/**
* Gets the text background color.
* @return the text color.
*/
public JBColor getTextColor()
{
return this.textColor;
}
/**
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -