|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
be.lassi.ui.log
Class LogOptionDetail
java.lang.Object be.lassi.ui.log.LogOptionDetail
public class LogOptionDetail
- extends java.lang.Object
Keeps track of the logging details for a Lanbox command (logging options and counter for number of times the Lanbox command appears in the log).
Constructor Summary | |
---|---|
LogOptionDetail(java.lang.Class<?> clazz)
Constructs a new instance. |
Method Summary | |
---|---|
java.lang.String |
getClassName()
Gets the full name (including the package name) of the class that implements the lanbox command. |
NamedColor |
getColor()
Gets the color to be used for this type of command in the log. |
int |
getCount()
Gets the number of times this type of lanbox command occurs in the log. |
java.lang.String |
getName()
Gets the name of the class that implements the lanbox command. |
void |
increment()
Increments the counter that keeps track of the number of times this type of lanbox command occurs in the log. |
boolean |
isDetailsEnabled()
Indicates whether the detailed information about the lanbox command should be included in the log. |
boolean |
isEnabled()
Indicates whether the lanbox command should be logged. |
void |
setColor(NamedColor color)
Sets the color to be used for this command in the log. |
void |
setDetailsEnabled(boolean detailsEnabled)
Sets the 'detailsEnabled' indicator. |
void |
setEnabled(boolean enabled)
Sets the 'enabled' indicator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
LogOptionDetail
public LogOptionDetail(java.lang.Class<?> clazz)
- Constructs a new instance.
- Parameters:
clazz
- the class that implements the type of lanbox command
Method Detail |
---|
getClassName
public java.lang.String getClassName()
- Gets the full name (including the package name) of the class
that implements the lanbox command.
- Returns:
- the class name
getColor
public NamedColor getColor()
- Gets the color to be used for this type of command in the log.
- Returns:
- the color
getCount
public int getCount()
- Gets the number of times this type of lanbox command occurs in the log.
- Returns:
- the command count
getName
public java.lang.String getName()
- Gets the name of the class that implements the lanbox command.
- Returns:
- the class name
increment
public void increment()
- Increments the counter that keeps track of the number of times
this type of lanbox command occurs in the log.
isDetailsEnabled
public boolean isDetailsEnabled()
- Indicates whether the detailed information about the lanbox
command should be included in the log.
- Returns:
- true if the command details should be logged
isEnabled
public boolean isEnabled()
- Indicates whether the lanbox command should be logged.
- Returns:
- true if the command should be logged
setColor
public void setColor(NamedColor color)
- Sets the color to be used for this command in the log.
- Parameters:
color
- the color to be set
setDetailsEnabled
public void setDetailsEnabled(boolean detailsEnabled)
- Sets the 'detailsEnabled' indicator.
- Parameters:
detailsEnabled
- true if the command details should be logged
setEnabled
public void setEnabled(boolean enabled)
- Sets the 'enabled' indicator.
- Parameters:
enabled
- true if the command should be logged
|
Lighting Assistant 1.2 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |