| java.lang.Object net.sourceforge.tracelog.config.LogBean
LogBean | public class LogBean implements Serializable(Code) | | LogFile is a value object that contains information about the log, such as
log name, log file path and the color of log text (when displayed).
author: Choon-Chern Lim (Mike) |
Constructor Summary | |
| LogBean(int logOrder, String logName, String logPath, int foregroundColor, int backgroundColor) Sets up log name and log path. |
LogBean | LogBean(int logOrder, String logName, String logPath, int foregroundColor, int backgroundColor)(Code) | | Sets up log name and log path.
Parameters: logName - Log name. Parameters: logFilePath - Log path. |
getBackgroundColor | public int getBackgroundColor()(Code) | | the backgroundColor |
getForegroundColor | public int getForegroundColor()(Code) | | Returns font color.
Font color. |
getLogFilePath | public String getLogFilePath()(Code) | | Returns log path.
Log path. |
getLogName | public String getLogName()(Code) | | Returns log name.
Log name. |
getLogOrder | public int getLogOrder()(Code) | | the logOrder |
setBackgroundColor | public void setBackgroundColor(int backgroundColor)(Code) | | Parameters: backgroundColor - the backgroundColor to set |
setForegroundColor | public void setForegroundColor(int foregroundColor)(Code) | | Sets font color.
Parameters: foregroundColor - Font color. |
setId | public void setId(String id)(Code) | | Parameters: id - the id to set |
setLogFilePath | public void setLogFilePath(String logPath)(Code) | | Sets log path.
Parameters: logFilePath - Log path. |
setLogName | public void setLogName(String logName)(Code) | | Sets log name.
Parameters: logName - Log name. |
setLogOrder | public void setLogOrder(int logOrder)(Code) | | Parameters: logOrder - the logOrder to set |
|
|