public class LogPanelPreferenceModel extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static Collection |
DATE_FORMATS |
static String |
ISO8601 |
Constructor and Description |
---|
LogPanelPreferenceModel() |
Modifier and Type | Method and Description |
---|---|
boolean |
addColumn(TableColumn column) |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
apply(LogPanelPreferenceModel model)
Applies all the properties of another model to this model
|
void |
clearColumns() |
String |
getAlwaysDisplayExpression() |
String |
getClearTableExpression() |
List |
getColumns()
Returns an unmodifiable list of the columns.
|
String |
getDateFormatPattern()
Returns the Date Pattern string for the alternate date formatter.
|
String |
getHiddenExpression() |
Collection |
getHiddenLoggers() |
String |
getLoggerPrecision()
Returns the Logger precision.
|
String |
getTimeZone() |
List |
getVisibleColumnOrder() |
List |
getVisibleColumns()
Returns an unmodifiable list of the visible columns.
|
boolean |
isColumnVisible(TableColumn column)
Returns true if the named column should be made visible otherwise
false.
|
boolean |
isCustomDateFormat() |
boolean |
isCyclic() |
boolean |
isDetailPaneVisible() |
boolean |
isHighlightSearchMatchText() |
boolean |
isLevelIcons() |
boolean |
isLogTreePanelVisible() |
boolean |
isScrollToBottom() |
boolean |
isSearchResultsVisible() |
boolean |
isShowMillisDeltaAsGap() |
boolean |
isThumbnailBarToolTips() |
boolean |
isToolTips() |
boolean |
isUseISO8601Format()
Returns true if this the fast ISO8601DateFormat object
should be used instead of SimpleDateFormat
|
boolean |
isWrapMessage() |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
setAlwaysDisplayExpression(String alwaysDisplayExpression) |
void |
setClearTableExpression(String clearTableExpression) |
void |
setColumnVisible(String columnName,
boolean isVisible) |
void |
setCyclic(boolean cyclic) |
void |
setDateFormatPattern(String dateFormatPattern) |
void |
setDefaultDatePatternFormat() |
void |
setDetailPaneVisible(boolean detailPaneVisible) |
void |
setHiddenExpression(String hiddenExpression) |
void |
setHiddenLoggers(Collection hiddenSet) |
void |
setHighlightSearchMatchText(boolean highlightSearchMatchText) |
void |
setLevelIcons(boolean levelIcons) |
void |
setLoggerPrecision(String loggerPrecision) |
void |
setLogTreePanelVisible(boolean logTreePanelVisible) |
void |
setScrollToBottom(boolean scrollToBottom) |
void |
setSearchResultsVisible(boolean searchResultsVisible) |
void |
setShowMillisDeltaAsGap(boolean showMillisDeltaAsGap) |
void |
setThumbnailBarToolTips(boolean thumbnailBarToolTips) |
void |
setTimeZone(String timeZone) |
void |
setToolTips(boolean toolTips) |
void |
setVisibleColumnOrder(List visibleColumnOrder) |
void |
setWrapMessage(boolean wrapMsg) |
void |
toggleColumn(TableColumn column)
Toggles the state between visible, non-visible for a particular Column name
|
public static final String ISO8601
public static final Collection DATE_FORMATS
public List getColumns()
public void setCyclic(boolean cyclic)
public boolean isCyclic()
public List getVisibleColumns()
public void clearColumns()
public void setVisibleColumnOrder(List visibleColumnOrder)
public List getVisibleColumnOrder()
public boolean addColumn(TableColumn column)
public final String getDateFormatPattern()
public final void setDefaultDatePatternFormat()
public final void setDateFormatPattern(String dateFormatPattern)
dateFormatPattern
- public void addPropertyChangeListener(PropertyChangeListener listener)
listener
- public void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
propertyName
- listener
- public void removePropertyChangeListener(PropertyChangeListener listener)
listener
- public void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
propertyName
- listener
- public void apply(LogPanelPreferenceModel model)
model
- the model to copy
all the properties frompublic boolean isUseISO8601Format()
public boolean isLevelIcons()
public boolean isWrapMessage()
public boolean isHighlightSearchMatchText()
public void setLevelIcons(boolean levelIcons)
levelIcons
- public void setSearchResultsVisible(boolean searchResultsVisible)
public boolean isSearchResultsVisible()
public void setWrapMessage(boolean wrapMsg)
wrapMsg
- public void setHighlightSearchMatchText(boolean highlightSearchMatchText)
highlightSearchMatchText
- public void setLoggerPrecision(String loggerPrecision)
loggerPrecision
- - an integer representing the number of packages to display,
or an empty string representing 'display all packages'public final String getLoggerPrecision()
public boolean isColumnVisible(TableColumn column)
column
- public void setColumnVisible(String columnName, boolean isVisible)
public void toggleColumn(TableColumn column)
column
- public final boolean isDetailPaneVisible()
public final void setDetailPaneVisible(boolean detailPaneVisible)
detailPaneVisible
- public final boolean isScrollToBottom()
public final boolean isShowMillisDeltaAsGap()
public final void setScrollToBottom(boolean scrollToBottom)
scrollToBottom
- public final void setShowMillisDeltaAsGap(boolean showMillisDeltaAsGap)
showMillisDeltaAsGap
- public final void setThumbnailBarToolTips(boolean thumbnailBarToolTips)
public final boolean isThumbnailBarToolTips()
public final boolean isToolTips()
public final void setToolTips(boolean toolTips)
toolTips
- public final boolean isLogTreePanelVisible()
public final void setLogTreePanelVisible(boolean logTreePanelVisible)
logTreePanelVisible
- public boolean isCustomDateFormat()
public void setHiddenLoggers(Collection hiddenSet)
public Collection getHiddenLoggers()
public String getTimeZone()
public void setTimeZone(String timeZone)
public void setHiddenExpression(String hiddenExpression)
public String getHiddenExpression()
public void setAlwaysDisplayExpression(String alwaysDisplayExpression)
public String getAlwaysDisplayExpression()
public void setClearTableExpression(String clearTableExpression)
public String getClearTableExpression()
Copyright © 2002-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache Chainsaw, Chainsaw, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.