|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.j3d.threeD.ui.tree.ShaderTreeNode
public class ShaderTreeNode
A ShaderTreeNode object wraps a Shader object and allows it to be displayed in a tree.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.sf.j3d.threeD.raytracer.util.Editable |
|---|
Editable.Selection |
| Constructor Summary | |
|---|---|
ShaderTreeNode(Shader s,
TreeNode parent)
Constructs a new ShaderTreeNode object. |
|
| Method Summary | |
|---|---|
void |
add(int index,
Object o)
|
boolean |
add(Object o)
|
boolean |
addAll(Collection c)
|
boolean |
addAll(int index,
Collection c)
|
Enumeration |
children()
|
void |
clear()
|
boolean |
contains(Object o)
|
boolean |
containsAll(Collection c)
|
boolean |
equals(Object o)
|
Object |
get(int index)
|
boolean |
getAllowsChildren()
|
TreeNode |
getChildAt(int index)
|
int |
getChildCount()
|
int |
getIndex(TreeNode node)
|
Producer[] |
getInputPropertyValues()
|
TreeNode |
getParent()
|
String[] |
getPropertyDescriptions()
Returns an array of String objects with descriptions for each editable property of this Editable object. |
String[] |
getPropertyNames()
Returns an array of String objects with names for each editable property of this Editable object. |
Class[] |
getPropertyTypes()
Returns an array of Class objects representing the class types of each editable property of this Editable object. |
Object[] |
getPropertyValues()
Returns the values of the properties of this Editable object as an Object array. |
Shader |
getShader()
|
int |
hashCode()
|
int |
indexOf(Object o)
|
boolean |
isEmpty()
|
boolean |
isLeaf()
|
Iterator |
iterator()
|
int |
lastIndexOf(Object o)
|
ListIterator |
listIterator()
|
ListIterator |
listIterator(int i)
|
Object |
remove(int index)
|
boolean |
remove(Object o)
|
boolean |
removeAll(Collection c)
|
boolean |
retainAll(Collection c)
|
Object |
set(int index,
Object o)
|
void |
setInputPropertyValue(int index,
Producer p)
|
void |
setPropertyValue(Object value,
int index)
Sets the value of the property of this Editable object at the specified index to the specified value. |
void |
setPropertyValues(Object[] values)
Sets the values of properties of this Editable object to those specified. |
int |
size()
|
List |
subList(int start,
int end)
|
Object[] |
toArray()
|
Object[] |
toArray(Object[] o)
|
String |
toString()
|
void |
updateChildren()
Updates the list of child nodes stored by this ShaderTreeNode object. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ShaderTreeNode(Shader s,
TreeNode parent)
s - Shader object to use.| Method Detail |
|---|
public Shader getShader()
public int getChildCount()
getChildCount in interface TreeNodeTreeNode.getChildCount()public boolean getAllowsChildren()
getAllowsChildren in interface TreeNodeTreeNode.getAllowsChildren()public boolean isLeaf()
isLeaf in interface TreeNodeTreeNode.isLeaf()public Enumeration children()
children in interface TreeNodeTreeNode.children()public TreeNode getParent()
getParent in interface TreeNodeTreeNode.getParent()public TreeNode getChildAt(int index)
getChildAt in interface TreeNodeTreeNode.getChildAt(int)public int getIndex(TreeNode node)
getIndex in interface TreeNodeTreeNode.getIndex(javax.swing.tree.TreeNode)public void updateChildren()
public String[] getPropertyNames()
Editable
getPropertyNames in interface EditableEditable.getPropertyNames()public String[] getPropertyDescriptions()
Editable
getPropertyDescriptions in interface EditableEditable.getPropertyDescriptions()public Class[] getPropertyTypes()
Editable
getPropertyTypes in interface EditableEditable.getPropertyTypes()public Object[] getPropertyValues()
Editable
getPropertyValues in interface EditableEditable.getPropertyValues()
public void setPropertyValue(Object value,
int index)
Editable
setPropertyValue in interface EditableEditable.setPropertyValue(java.lang.Object, int)public void setPropertyValues(Object[] values)
Editable
setPropertyValues in interface EditableEditable.setPropertyValues(java.lang.Object[])public boolean equals(Object o)
equals in interface Collectionequals in interface Listequals in class Objectpublic int hashCode()
hashCode in interface CollectionhashCode in interface ListhashCode in class Objectpublic String toString()
toString in class Objectpublic int size()
size in interface Collectionsize in interface Listpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface ListList.isEmpty()public boolean contains(Object o)
contains in interface Collectioncontains in interface ListList.contains(java.lang.Object)public Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface ListList.iterator()public Object[] toArray()
toArray in interface CollectiontoArray in interface ListList.toArray()public Object[] toArray(Object[] o)
toArray in interface CollectiontoArray in interface Listpublic boolean add(Object o)
add in interface Collectionadd in interface ListList.add(java.lang.Object)public boolean remove(Object o)
remove in interface Collectionremove in interface ListList.remove(java.lang.Object)public boolean containsAll(Collection c)
containsAll in interface CollectioncontainsAll in interface ListList.containsAll(java.util.Collection)public boolean addAll(Collection c)
addAll in interface CollectionaddAll in interface ListList.addAll(java.util.Collection)
public boolean addAll(int index,
Collection c)
addAll in interface ListList.addAll(int, java.util.Collection)public boolean removeAll(Collection c)
removeAll in interface CollectionremoveAll in interface ListList.removeAll(java.util.Collection)public boolean retainAll(Collection c)
retainAll in interface CollectionretainAll in interface ListList.retainAll(java.util.Collection)public void clear()
clear in interface Collectionclear in interface ListList.clear()public Object get(int index)
get in interface ListList.get(int)
public Object set(int index,
Object o)
set in interface ListList.set(int, java.lang.Object)
public void add(int index,
Object o)
add in interface ListList.add(int, java.lang.Object)public Object remove(int index)
remove in interface ListList.remove(int)public int indexOf(Object o)
indexOf in interface ListList.indexOf(java.lang.Object)public int lastIndexOf(Object o)
lastIndexOf in interface ListList.lastIndexOf(java.lang.Object)public ListIterator listIterator()
listIterator in interface ListList.listIterator()public ListIterator listIterator(int i)
listIterator in interface ListList.listIterator(int)
public List subList(int start,
int end)
subList in interface 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, net.sf.j3d.threeD.raytracer.util.Producer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||