|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.vrjuggler.vrjconfig.commoneditors.devicegraph.ConfigElementHolder
public abstract class ConfigElementHolder
A simple container for a ConfigElement reference and the ConfigContext wherein that ConfigElement reference exists. This is used for user objects in DefaultGraphCell instances. Some classes in the package org.vrjuggler.vrjconfig.commoneditors.devicegraph make use of this type to determine how to handle user data in a given cell.
ConfigElement,
ConfigContext,
DefaultGraphCell| Constructor Summary | |
|---|---|
ConfigElementHolder(ConfigElement element,
ConfigContext context)
|
|
| Method Summary | |
|---|---|
abstract boolean |
acceptsSource(GraphModel model,
Object edge,
Object port)
Verifies that the given port can be a source of the given edge within the given model. |
abstract boolean |
acceptsTarget(GraphModel model,
Object edge,
Object port)
Verifies that the given port can be a target of the given edge within the given model. |
ConfigContext |
getContext()
|
ConfigElement |
getElement()
|
String |
toString()
Override of toString() needed for proper display of this type when it is used as the container for user data in a cell. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigElementHolder(ConfigElement element,
ConfigContext context)
| Method Detail |
|---|
public ConfigElement getElement()
public ConfigContext getContext()
public abstract boolean acceptsSource(GraphModel model,
Object edge,
Object port)
public abstract boolean acceptsTarget(GraphModel model,
Object edge,
Object port)
public String toString()
toString in class Object
|
VRJConfig UI API |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||