|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectthreeD.ui.tree.ShaderTreeNode
A ShaderTreeNode object wraps a Shader object and allows it to be displayed in a tree.
| Nested Class Summary |
| Nested classes inherited from class threeD.raytracer.util.Editable |
Editable.Selection |
| Constructor Summary | |
ShaderTreeNode(Shader s,
javax.swing.tree.TreeNode parent)
Constructs a new ShaderTreeNode object. |
|
| Method Summary | |
void |
add(int index,
java.lang.Object o)
|
boolean |
add(java.lang.Object o)
|
boolean |
addAll(java.util.Collection c)
|
boolean |
addAll(int index,
java.util.Collection c)
|
java.util.Enumeration |
children()
|
void |
clear()
|
boolean |
contains(java.lang.Object o)
|
boolean |
containsAll(java.util.Collection c)
|
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
get(int index)
|
boolean |
getAllowsChildren()
|
javax.swing.tree.TreeNode |
getChildAt(int index)
|
int |
getChildCount()
|
int |
getIndex(javax.swing.tree.TreeNode node)
|
Producer[] |
getInputPropertyValues()
|
javax.swing.tree.TreeNode |
getParent()
|
java.lang.String[] |
getPropertyDescriptions()
Returns an array of String objects with descriptions for each editable property of this Editable object. |
java.lang.String[] |
getPropertyNames()
Returns an array of String objects with names for each editable property of this Editable object. |
java.lang.Class[] |
getPropertyTypes()
Returns an array of Class objects representing the class types of each editable property of this Editable object. |
java.lang.Object[] |
getPropertyValues()
Returns the values of the properties of this Editable object as an Object array. |
Shader |
getShader()
|
int |
hashCode()
|
int |
indexOf(java.lang.Object o)
|
boolean |
isEmpty()
|
boolean |
isLeaf()
|
java.util.Iterator |
iterator()
|
int |
lastIndexOf(java.lang.Object o)
|
java.util.ListIterator |
listIterator()
|
java.util.ListIterator |
listIterator(int i)
|
java.lang.Object |
remove(int index)
|
boolean |
remove(java.lang.Object o)
|
boolean |
removeAll(java.util.Collection c)
|
boolean |
retainAll(java.util.Collection c)
|
java.lang.Object |
set(int index,
java.lang.Object o)
|
void |
setInputPropertyValue(int index,
Producer p)
|
void |
setPropertyValue(java.lang.Object value,
int index)
Sets the value of the property of this Editable object at the specified index to the specified value. |
void |
setPropertyValues(java.lang.Object[] values)
Sets the values of properties of this Editable object to those specified. |
int |
size()
|
java.util.List |
subList(int start,
int end)
|
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] o)
|
java.lang.String |
toString()
|
void |
updateChildren()
Updates the list of child nodes stored by this ShaderTreeNode object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ShaderTreeNode(Shader s,
javax.swing.tree.TreeNode parent)
s - Shader object to use.| Method Detail |
public Shader getShader()
public int getChildCount()
getChildCount in interface javax.swing.tree.TreeNodeTreeNode.getChildCount()public boolean getAllowsChildren()
getAllowsChildren in interface javax.swing.tree.TreeNodeTreeNode.getAllowsChildren()public boolean isLeaf()
isLeaf in interface javax.swing.tree.TreeNodeTreeNode.isLeaf()public java.util.Enumeration children()
children in interface javax.swing.tree.TreeNodeTreeNode.children()public javax.swing.tree.TreeNode getParent()
getParent in interface javax.swing.tree.TreeNodeTreeNode.getParent()public javax.swing.tree.TreeNode getChildAt(int index)
getChildAt in interface javax.swing.tree.TreeNodeTreeNode.getChildAt(int)public int getIndex(javax.swing.tree.TreeNode node)
getIndex in interface javax.swing.tree.TreeNodeTreeNode.getIndex(javax.swing.tree.TreeNode)public void updateChildren()
public java.lang.String[] getPropertyNames()
Editable
getPropertyNames in interface EditableEditable.getPropertyNames()public java.lang.String[] getPropertyDescriptions()
Editable
getPropertyDescriptions in interface EditableEditable.getPropertyDescriptions()public java.lang.Class[] getPropertyTypes()
Editable
getPropertyTypes in interface EditableEditable.getPropertyTypes()public java.lang.Object[] getPropertyValues()
Editable
getPropertyValues in interface EditableEditable.getPropertyValues()
public void setPropertyValue(java.lang.Object value,
int index)
Editable
setPropertyValue in interface EditableEditable.setPropertyValue(java.lang.Object, int)public void setPropertyValues(java.lang.Object[] values)
Editable
setPropertyValues in interface EditableEditable.setPropertyValues(java.lang.Object[])public boolean equals(java.lang.Object o)
equals in interface java.util.Listpublic int hashCode()
hashCode in interface java.util.Listpublic java.lang.String toString()
public int size()
size in interface java.util.Listpublic boolean isEmpty()
isEmpty in interface java.util.ListList.isEmpty()public boolean contains(java.lang.Object o)
contains in interface java.util.ListList.contains(java.lang.Object)public java.util.Iterator iterator()
iterator in interface java.util.ListList.iterator()public java.lang.Object[] toArray()
toArray in interface java.util.ListList.toArray()public java.lang.Object[] toArray(java.lang.Object[] o)
toArray in interface java.util.Listpublic boolean add(java.lang.Object o)
add in interface java.util.ListList.add(java.lang.Object)public boolean remove(java.lang.Object o)
remove in interface java.util.ListList.remove(java.lang.Object)public boolean containsAll(java.util.Collection c)
containsAll in interface java.util.ListList.containsAll(java.util.Collection)public boolean addAll(java.util.Collection c)
addAll in interface java.util.ListList.addAll(java.util.Collection)
public boolean addAll(int index,
java.util.Collection c)
addAll in interface java.util.ListList.addAll(int, java.util.Collection)public boolean removeAll(java.util.Collection c)
removeAll in interface java.util.ListList.removeAll(java.util.Collection)public boolean retainAll(java.util.Collection c)
retainAll in interface java.util.ListList.retainAll(java.util.Collection)public void clear()
clear in interface java.util.ListList.clear()public java.lang.Object get(int index)
get in interface java.util.ListList.get(int)
public java.lang.Object set(int index,
java.lang.Object o)
set in interface java.util.ListList.set(int, java.lang.Object)
public void add(int index,
java.lang.Object o)
add in interface java.util.ListList.add(int, java.lang.Object)public java.lang.Object remove(int index)
remove in interface java.util.ListList.remove(int)public int indexOf(java.lang.Object o)
indexOf in interface java.util.ListList.indexOf(java.lang.Object)public int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.ListList.lastIndexOf(java.lang.Object)public java.util.ListIterator listIterator()
listIterator in interface java.util.ListList.listIterator()public java.util.ListIterator listIterator(int i)
listIterator in interface java.util.ListList.listIterator(int)
public java.util.List subList(int start,
int end)
subList in interface java.util.ListList.subList(int, int)public Producer[] getInputPropertyValues()
getInputPropertyValues in interface EditableEditable.getInputPropertyValues()
public void setInputPropertyValue(int index,
Producer p)
setInputPropertyValue in interface Editableindex - Index of input property (array index from this.getInputPropertyValue).p - Producer object to use for input property.Editable.setInputPropertyValue(int, threeD.raytracer.util.Producer)
|
Rings Version 0.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||