Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.ide.inspector.layout
Class SimpleElement

java.lang.Object
  extended by oracle.ide.inspector.layout.SimpleElement
All Implemented Interfaces:
Element
Direct Known Subclasses:
CustomComponent, Property, Spring

public abstract class SimpleElement
extends java.lang.Object
implements Element

Simple elements should extend this class. This class provides method implementations indicating the this element cannot have children and that it is not extensible.


Field Summary
 
Fields inherited from interface oracle.ide.inspector.layout.Element
EXTENDS, ID, PART_OF
 
Constructor Summary
SimpleElement()
           
 
Method Summary
 java.util.List<Element> getChildren()
          If this element contains other elements as children, this method returns the list of children, otherwise, it returns an empty list.
 Extensible getExtensible()
          Get the Extensible information.
 boolean isExtensible()
          Find out whether this element is Extensible.
 boolean mayHaveChildren()
          Find out whether this element contains other elements as children.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleElement

public SimpleElement()
Method Detail

mayHaveChildren

public boolean mayHaveChildren()
Description copied from interface: Element
Find out whether this element contains other elements as children.

Specified by:
mayHaveChildren in interface Element
Returns:
true is this element is a container of other elements.

isExtensible

public boolean isExtensible()
Description copied from interface: Element
Find out whether this element is Extensible.

Specified by:
isExtensible in interface Element
Returns:
true if this element is Extensible.

getExtensible

public Extensible getExtensible()
Description copied from interface: Element
Get the Extensible information.

Specified by:
getExtensible in interface Element
Returns:
implementations that return true from the isExtensible() method, must implement the Extensible interface and return this from their implementation of this method.

getChildren

public java.util.List<Element> getChildren()
Description copied from interface: Element
If this element contains other elements as children, this method returns the list of children, otherwise, it returns an empty list.

Specified by:
getChildren in interface Element
Returns:
the list of children. The list is always non-null but it may be empty when there are no children available.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.