org.w3c.jigadmin.editors
Class ResourceCell
java.lang.Object
|
+--org.w3c.jigadmin.editors.ResourceCell
- public class ResourceCell
- extends java.lang.Object
A wrapper of classname, used in dnd feature.
Constructor Summary |
ResourceCell(java.lang.String name,
java.lang.String spec)
Constructor. |
Method Summary |
boolean |
isContainer()
Return true if the Resource wrapped by this cell is a container. |
boolean |
isFilter()
Return true if the Resource wrapped by this cell is a filter. |
boolean |
isFrame()
Return true if the Resource wrapped by this cell is a frame. |
boolean |
isIndexer()
Return true if the Resource wrapped by this cell is an Indexer. |
boolean |
isResource()
Return true if the Resource wrapped by this cell is a resource. |
java.lang.String |
toString()
Return the classname |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
INDEXER_S
public static final java.lang.String INDEXER_S
CONTAINER_S
public static final java.lang.String CONTAINER_S
RESOURCE_S
public static final java.lang.String RESOURCE_S
FRAME_S
public static final java.lang.String FRAME_S
FILTER_S
public static final java.lang.String FILTER_S
ResourceCell
public ResourceCell(java.lang.String name,
java.lang.String spec)
- Constructor.
- Parameters:
name
- the resource classnamespec
- INDEXER_S, CONTAINER_S, RESOURCE_S, FRAME_S or FILTER_S
isIndexer
public boolean isIndexer()
- Return true if the Resource wrapped by this cell is an Indexer.
- Returns:
- a boolean
isContainer
public boolean isContainer()
- Return true if the Resource wrapped by this cell is a container.
- Returns:
- a boolean
isResource
public boolean isResource()
- Return true if the Resource wrapped by this cell is a resource.
- Returns:
- a boolean
isFrame
public boolean isFrame()
- Return true if the Resource wrapped by this cell is a frame.
- Returns:
- a boolean
isFilter
public boolean isFilter()
- Return true if the Resource wrapped by this cell is a filter.
- Returns:
- a boolean
toString
public java.lang.String toString()
- Return the classname
- Returns:
- a String.
- Overrides:
- toString in class java.lang.Object