com.primix.tapestry.inspector
Class ShowLogging

java.lang.Object
  |
  +--com.primix.tapestry.AbstractComponent
        |
        +--com.primix.tapestry.BaseComponent
              |
              +--com.primix.tapestry.inspector.ShowLogging
All Implemented Interfaces:
java.util.EventListener, IComponent, IRender, PageDetachListener

public class ShowLogging
extends BaseComponent
implements PageDetachListener

Component of the Inspector page used control log4j logging behavior.

Since:
0.2.9
Version:
$Id: ShowLogging.java,v 1.10 2001/08/28 20:33:42 hship Exp $
Author:
Howard Ship

Fields inherited from class com.primix.tapestry.BaseComponent
outer, OUTER_INIT_SIZE, outerCount
 
Fields inherited from class com.primix.tapestry.AbstractComponent
id, page, specification, wrapped, wrappedCount
 
Constructor Summary
ShowLogging()
           
 
Method Summary
 void addNewCategory(IRequestCycle cycle)
           
protected  void finishLoad()
          Registers this component as a PageDetachListener.
 Category getCategory()
           
 java.util.List getCategoryNames()
          Returns a sorted list of all known categorys.
 java.lang.String getError()
           
 java.lang.String getNewCategory()
           
 IPropertySelectionModel getPriorityModel()
          Returns a IPropertySelectionModel for Priority include a null option.
 Category getRootCategory()
           
 IPropertySelectionModel getRootPriorityModel()
          Returns a IPropertySelectionModel for Priority that does not allow a null value to be selected.
 IValidationDelegate getValidationDelegate()
           
 void pageDetached(PageEvent event)
          Clears out everything when the page is detached.
 void priorityChange(IRequestCycle cycle)
           
 void setCategoryName(java.lang.String value)
           
 void setError(java.lang.String value)
           
 void setNewCategory(java.lang.String value)
           
 
Methods inherited from class com.primix.tapestry.BaseComponent
addOuter, finishLoad, readTemplate, render
 
Methods inherited from class com.primix.tapestry.AbstractComponent
addAsset, addComponent, addWrapped, cleanupAfterRender, cleanupComponent, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getPage, getSpecification, prepareForRender, renderWrapped, reset, setBinding, setContainer, setId, setPage, setSpecification, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShowLogging

public ShowLogging()
Method Detail

finishLoad

protected void finishLoad()
Registers this component as a PageDetachListener.
Overrides:
finishLoad in class AbstractComponent
Since:
1.0.5

pageDetached

public void pageDetached(PageEvent event)
Clears out everything when the page is detached.
Specified by:
pageDetached in interface PageDetachListener
Since:
1.0.5

getError

public java.lang.String getError()

setError

public void setError(java.lang.String value)

getNewCategory

public java.lang.String getNewCategory()

setNewCategory

public void setNewCategory(java.lang.String value)

setCategoryName

public void setCategoryName(java.lang.String value)

getCategory

public Category getCategory()

getCategoryNames

public java.util.List getCategoryNames()
Returns a sorted list of all known categorys.

getRootCategory

public Category getRootCategory()

getRootPriorityModel

public IPropertySelectionModel getRootPriorityModel()
Returns a IPropertySelectionModel for Priority that does not allow a null value to be selected.

getPriorityModel

public IPropertySelectionModel getPriorityModel()
Returns a IPropertySelectionModel for Priority include a null option.

getValidationDelegate

public IValidationDelegate getValidationDelegate()

priorityChange

public void priorityChange(IRequestCycle cycle)

addNewCategory

public void addNewCategory(IRequestCycle cycle)