| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.AbstractComponent
nextapp.echo.Container
echopoint.DevNull
public class DevNull
The DevNull class is a component that will
 NEVER render itself or any of its children.  This allows them
 to be added to the Echo component hierarchy without necessarily 
 being rendered.  This will also allow Style application to take place
 for example on Components that are not otherwise designed to be
 seen.
 
 The DevNull is always invisible and hence does not get 
 a rendering peer, nor do any of the children placed inside it.  This 
 can lead to a more conservative use of memory for components that
 you know will not be rendered.
 
You will know when you need to use this class, which is not very often.
The name of this component is inspired by the UNIX bit bucket called /dev/null
| Field Summary | 
|---|
| Constructor Summary | |
|---|---|
DevNull()
Constructs a DevNull that is always 
 invisible and hence does get a rendering peer for 
 itself nor any of its children.. | 
|
| Method Summary | |
|---|---|
 java.lang.Object | 
set(java.lang.reflect.Field field,
    java.lang.Object newValue)
Called to save the old value of a field, set in a new value and return the old value of a field.  | 
 void | 
setVisible(boolean newValue)
The DevNull is always invisible and hence does not get a rendering peer for itself nor any of its children.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DevNull()
DevNull that is always 
 invisible and hence does get a rendering peer for 
 itself nor any of its children..
| Method Detail | 
|---|
public void setVisible(boolean newValue)
setVisible in interface ComponentsetVisible in class AbstractComponentnewValue - The new visibility state of the component.Component.setVisible(boolean)
public java.lang.Object set(java.lang.reflect.Field field,
                            java.lang.Object newValue)
                     throws java.lang.Exception
ReflectionSetter
 public Object set(Field f, Object newValue) throws Exception {
      Object oldValue = f.get(this);
      f.set(this,newValue);
      return oldValue;
 }
 
set in interface ReflectionSetterfield - - the field to be setnewValue - - the new value to be set
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.lang.NullPointerException
java.lang.ExceptionReflectionSetter.set(Field, Object)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||