edu.ucsb.nceas.morpho.plugins.metadisplay
Interface PathElementInterface


public interface PathElementInterface

This Interface is implemented by objects that may be added to a edu.ucsb.nceas.morpho.plugins.metadisplay.Path object


Method Summary
 Command getCommand()
          gets the edu.ucsb.nceas.morpho.util.Command for this item.
 java.lang.String getDisplayName()
          gets the text display name for this item.
 Path getPathToRoot()
          gets the edu.ucsb.nceas.morpho.plugins.metadisplay.Path from this item to the root item.
 PathElementInterface getPreviousElement()
          gets the previous PathElementInterface from the path
 void setCommand(Command cmd)
          sets the edu.ucsb.nceas.morpho.util.Command for this item.
 void setDisplayName(java.lang.String name)
          sets the text display name for this item.
 void setPreviousElement(PathElementInterface element)
          sets the previous PathElementInterface in the path
 

Method Detail

setDisplayName

public void setDisplayName(java.lang.String name)
sets the text display name for this item.

Parameters:
name - the display name to be used

getDisplayName

public java.lang.String getDisplayName()
gets the text display name for this item.

Returns:
name the display name for this item

setCommand

public void setCommand(Command cmd)
sets the edu.ucsb.nceas.morpho.util.Command for this item.


getCommand

public Command getCommand()
gets the edu.ucsb.nceas.morpho.util.Command for this item.

Returns:
name the Command object for this item

setPreviousElement

public void setPreviousElement(PathElementInterface element)
sets the previous PathElementInterface in the path

Parameters:
element - the PathElementInterface to be used

getPreviousElement

public PathElementInterface getPreviousElement()
gets the previous PathElementInterface from the path

Returns:
the previous PathElementInterface

getPathToRoot

public Path getPathToRoot()
gets the edu.ucsb.nceas.morpho.plugins.metadisplay.Path from this item to the root item. Includes this item as the last Path element.

Returns:
edu.ucsb.nceas.morpho.plugins.metadisplay.Path from this item to the root item


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.