public class P2DPlotModel extends P2DComponentModel implements P2DPlotModelInterface
Property Keyword | Datatype | Default | Description |
---|---|---|---|
P2DPlotModel.YAxisOffset | float | 0.1 | The default y axis offset ratio of the plot height. This value is used when no keyword for P2DPlotModel.YAxisn are defined only. |
P2DPlotModel.Title.X1 | float | 0.0 | The ratio of the plot bounds width used for title. |
P2DPlotModel.Title.X2 | float | 0.5 | The ratio of the plot bounds width used for title. |
P2DPlotModel.Title.Y1 | float | 0.0 | The ratio of the plot bounds height used for title. |
P2DPlotModel.Title.Y2 | float | 0.15 | The ratio of the plot bounds height used for title. |
P2DPlotModel.Legend.X1 | float | 0.5 | The ratio of the plot bounds width used for legend. |
P2DPlotModel.Legend.X2 | float | 1.0 | The ratio of the plot bounds width used for legend. |
P2DPlotModel.Legend.Y1 | float | 0.0 | The ratio of the plot bounds height used for legend. |
P2DPlotModel.Legend.Y2 | float | 0.15 | The ratio of the plot bounds height used for legend. |
P2DPlotModel.XAxis.X1 | float | 0.0 | The ratio of the plot bounds width used for x axis. |
P2DPlotModel.XAxis.X2 | float | 0.0 | The ratio of the plot bounds width used for x axis. |
P2DPlotModel.XAxis.Y1 | float | 0.0 | The ratio of the plot bounds height used for x axis. |
P2DPlotModel.XAxis.Y2 | float | 0.0 | The ratio of the plot bounds height used for x axis. |
P2DPlotModel.YAxisn.X1 | float | 0.0 | The ratio of the plot bounds width used for y axis. n starts at 0 and will be inceared for each additonal axis. |
P2DPlotModel.YAxisn.X2 | float | 0.0 | The ratio of the plot bounds width used for y axis. n starts at 0 and will be inceared for each additonal axis. |
P2DPlotModel.YAxisn.Y1 | float | 0.0 | The ratio of the plot bounds height used for y axis. n starts at 0 and will be inceared for each additonal axis. |
P2DPlotModel.YAxisn.Y2 | float | 0.0 | The ratio of the plot bounds height used for y axis. n starts at 0 and will be inceared for each additonal axis. |
P2D.Text.Help | String | P2D.Text.Help | The help text string for the popup menu. |
P2D.Text.PlotHelp | String | P2D.Text.PlotHelp | The text string for the popup menu entry of the plot help. |
P2D.Text.LegendEnabled | String | P2D.Text.LegendEnabled | The text string for the popup menu entry to enable the legend. |
P2D.Text.HorizontalTile | String | P2D.Text.HorizontalTile | The text string for the popup menu entry to tile the plot horizontal. |
Modifier and Type | Class and Description |
---|---|
protected class |
P2DPlotModel.ArrayCollection |
class |
P2DPlotModel.Attributor
A title attribute to set the attributes for a signle scaled axis.
|
Modifier and Type | Field and Description |
---|---|
protected boolean |
horizontalTile |
protected boolean |
legendEnabled |
protected boolean |
singleScale |
static java.lang.String |
version |
protected boolean |
verticalTile |
static float |
YAXIS_OFFSET
The default margin for all sides.
|
appearance, background, BACKGROUND_COLOR_IDENT, BACKGROUND_COLOR_TEXT_KEY, BACKGROUND_COLOR_TOOLTIP_KEY, BACKGROUND_VISIBLE_TEXT_KEY, boundingBox, COLOR_IDENT, COLOR_TEXT_KEY, COLOR_TOOLTIP_KEY, containerMap, decorated, FONT_IDENT, FONT_TEXT_KEY, FONT_TOOLTIP_KEY, frame, FRAME_COLOR_IDENT, FRAME_COLOR_TEXT_KEY, FRAME_COLOR_TOOLTIP_KEY, internalMouseListenerActive, PROPERTIES_TEXT_KEY, ratioFix, staticPanes, VISIBLE_TEXT_KEY
infoBusMemberSupport
changeManager, properties, suspendChangeManager
source
author, buildnr, className, company, copyright, creationDate, dateFormatString, description, eMail, FWK_ICON, FWK_ICON_ARRAY, FWK_ICON_BG, FWK_ICON_BG_ARRAY, FWK_ICON_BG_LARGE, FWK_ICON_BG_LARGE_ARRAY, FWK_ICON_LARGE, FWK_ICON_LARGE_ARRAY, icon, ICON, iconCount, iconKey, internetAddress, name, titleName
INFOBUS_SOURCE
AUTHOR, BUILDNR, COMPANY, COPYRIGHT, DATE_FORMAT, DEFAULT_ICON, DESCRIPTION, INTERNET, LARGE_ICON, LARGE_KEY_EXT, LARGE_OPAQUE_ICON, LARGE_OPAQUE_KEY_EXT, OPAQUE_ICON, OPAQUE_KEY_EXT, RCS_DATE_FORMAT, SUPPORT_EMAIL, TITLE_NAME
Constructor and Description |
---|
P2DPlotModel() |
Modifier and Type | Method and Description |
---|---|
P2DChannelInterface[] |
addChannelComponent(P2DComponentInterface component,
java.lang.String yName)
Add a channel component to the plot model.
|
P2DChannelInterface[] |
addChannelComponent(P2DComponentInterface component,
java.lang.String xName,
java.lang.String yName)
Add a channel component to the plot model.
|
boolean |
boundsAcceptable(P2DComponentInterface component,
java.awt.geom.Point2D lower,
java.awt.geom.Point2D upper)
Checks the given bounds to be acceptable bounds.
|
protected void |
calcLegendBounds(P2DComponentInterface component,
P2DBoundingBoxInterface bb)
Get the default bounding box for the legend component.
|
protected void |
calcTitleBounds(P2DComponentInterface component,
P2DBoundingBoxInterface bb)
Get the default bounding box for the title component.
|
protected void |
calculateBounds(P2DComponentInterface component)
Calculate the bounds of known components.
|
protected void |
calcXAxisBounds(P2DComponentInterface component,
P2DBoundingBoxInterface bb)
Get the default bounding box for the x-axis component.
|
protected void |
calcYAxisBounds(P2DComponentInterface component,
P2DBoundingBoxInterface bb)
Get the default bounding box for the y-axis component.
|
void |
clearChannelComponents(P2DComponentInterface component)
Add a channel component to the plot model.
|
protected P2DChannelInterface |
createChannelComponent(P2DComponentInterface component,
java.lang.String yName) |
protected P2DLegendInterface |
createLegendComponent(P2DComponentInterface component)
Create the plot legend.
|
protected P2DTextInterface |
createTitleComponent(P2DComponentInterface component)
Create the plot title.
|
P2DAxisInterface[] |
getAllYAxisComponents(P2DComponentInterface component)
Retrieve all y-axis component.
|
P2DChannelInterface |
getChannelComponent(P2DComponentInterface component)
Retrieve the channel component.
|
P2DChannelInterface |
getChannelComponent(P2DComponentInterface component,
java.lang.String yName)
Retrieve the channel component.
|
P2DChannelInterface[] |
getChannelComponents(P2DComponentInterface component)
Retrieve all channel components.
|
protected java.lang.String |
getChannelTitle(P2DChannelInterface channel)
Determine the title of a channel.
|
FwkCommandInterface[] |
getCommands(P2DComponentInterface component)
Get the commands of the component.
|
boolean |
getHorizontalTile(P2DComponentInterface component)
Get the horizontal tile flag.
|
P2DLegendInterface |
getLegendComponent(P2DComponentInterface component)
Retrieves the P2D legend component.
|
boolean |
getLegendEnabled(P2DComponentInterface component)
Get the boolean whether the legend is enabled.
|
P2DMarkerInterface |
getMarkerComponent(P2DComponentInterface component)
Get the marker component.
|
boolean |
getSingleScale(P2DComponentInterface component)
Get a boolean that indicates a single y scaling.
|
protected P2DBoundingBoxInterface |
getSubBoundingBox(java.lang.String key,
double width,
double height,
double x1,
double y1,
double x2,
double y2)
Get the bounding box.
|
P2DTextInterface |
getTitleComponent(P2DComponentInterface component)
Retrieves the P2D text component used as title.
|
boolean |
getVerticalTile(P2DComponentInterface component)
Get the vertical tile flag.
|
P2DAxisInterface |
getXAxisComponent(P2DComponentInterface component)
Retrieve the x-axis component.
|
java.lang.String |
getXChannelName(P2DComponentInterface component)
Get the name of the x Channel.
|
P2DAxisInterface |
getYAxisComponent(P2DComponentInterface component)
Retrieve the last created y-axis component.
|
P2DAxisInterface |
getYAxisComponent(P2DComponentInterface component,
java.lang.String yName)
Retrieve the y-axis component.
|
boolean |
hasChannels(P2DComponentInterface component)
Return a boolean whether the plot contains channels.
|
void |
revalidate(P2DComponentInterface component,
boolean recursive)
Revalidate the model
|
void |
setBoundingBox(P2DComponentInterface component,
P2DBoundingBoxInterface boundingBox)
Set the bounding box of the component.
|
P2DChannelInterface[] |
setChannelComponent(P2DComponentInterface component,
java.lang.String yName)
Set the channel component.
|
P2DChannelInterface[] |
setChannelComponent(P2DComponentInterface component,
java.lang.String xName,
java.lang.String yName)
Set the channel component.
|
void |
setHorizontalTile(P2DComponentInterface component,
boolean flag)
Set the horizontal tile flag.
|
P2DLegendInterface |
setLegendComponent(P2DComponentInterface component,
P2DLegendInterface legend)
Set the legend of the plot.
|
void |
setLegendEnabled(P2DComponentInterface component,
boolean flag)
Enable the legend.
|
void |
setSingleScale(P2DComponentInterface component,
boolean flag)
Set a boolean for signle scaling.
|
P2DTextInterface |
setTitleComponent(P2DComponentInterface component,
FwkArrayInterface arr)
Set the title of the plot.
|
P2DTextInterface |
setTitleComponent(P2DComponentInterface component,
P2DTextInterface text)
Set the title of the plot.
|
P2DTextInterface |
setTitleComponent(P2DComponentInterface component,
java.lang.String titleString)
Set the title of the plot.
|
void |
setVerticalTile(P2DComponentInterface component,
boolean flag)
Set the vertical tile flag.
|
void |
setXChannelName(P2DComponentInterface component,
java.lang.String xName)
Set the name of the x Channel.
|
addDialogPane, calculateBoundingBoxRelativeTo, closestIntersection, configure, contains, contains, containsAllChildren, containsAllChildren, createDialogPanes, frameHasHandles, getActive, getActiveHandle, getAllArmedComponents, getAllArmedComponents, getAppearance, getArea, getBackground, getBackgroundColor, getBackgroundTransparency, getBackgroundVisible, getBoundingBox, getChild, getChild, getClip, getColor, getContainerMap, getDashArray, getDashPhase, getDecorated, getDialogPane, getDialogPanes, getDialogPaneValue, getDialogPaneValues, getEndCap, getFill, getFont, getFrame, getFrameColor, getFrameHandlesVisible, getFrameLinesVisible, getFrameTransparency, getFrameVisible, getHeight, getInverseTransform, getLineJoin, getLineWidth, getLower, getLower, getMiterLimit, getRatioFix, getRectangle, getScaledHeight, getScaledLower, getScaledLower, getScaledUpper, getScaledUpper, getScaledWidth, getShortName, getStroke, getTransform, getTransform, getTranslation, getTransparency, getUpper, getUpper, getVersion, getVisible, getWidth, getXFactor, getXOffset, getYFactor, getYOffset, hasActiveChild, initialize, install, intersects, intersects, intersects, intersects, inverseTransformPoint, isInside, isInside, isInside, isInternalMouseListenerActive, isVisible, move, registerContainer, release, release, removeDialogPane, resetActiveHandle, scaleStroke, scaleStroke, setActive, setActiveHandle, setAppearance, setBackgroundColor, setBackgroundTransparency, setBackgroundVisible, setClip, setClip, setColor, setContainerMap, setDashArray, setDashPhase, setDecorated, setDialogPaneValues, setEndCap, setFill, setFont, setFrameColor, setFrameHandlesVisible, setFrameLinesVisible, setFrameTransparency, setFrameVisible, setHeight, setInternalMouseListenerActive, setLineJoin, setLineWidth, setLower, setMiterLimit, setOffset, setRatioFix, setScale, setStroke, setTransform, setTransform, setTranslation, setTransparency, setUpper, setVisible, setWidth, setXScale, setYScale, transformPoint, transformPoint, uninstall, unregisterContainer
addInfoBusPropertyListener, addInfoBusVetoableListener, finalize, getInfoBus, getInfoBusName, getMemberName, isConnected, joinInfoBus, removeInfoBusPropertyListener, removeInfoBusVetoableListener, setInfoBus, setInfoBusName, setMemberName, setName
addDataItemChangeListener, fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getName, getProperty, getPropertyGroup, getSource, isChangeManagerSuspended, removeDataItemChangeListener, setProperty, setPropertyGroup, suspendChangeManager
addCommand, addCommand, addToGroup, addToGroup, addVetoableChangeListener, addVetoableChangeListener, clearCommands, commandsAvailable, compareTo, deleteGroup, destroyController, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getAuthor, getBuild, getCommand, getCommands, getCommands, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getFwkMimeTypes, getGroup, getIcon, getIcon, getIconKey, getIconKey, getPersistentObjectNames, getSupportEMail, getTitle, getTitleName, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, groupExists, removeCommand, removeFromGroup, removeVetoableChangeListener, removeVetoableChangeListener, setAuthor, setBuild, setCommands, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setDateFormatString, setDescription, setDescriptor, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setSource, setSupportEMail, setTitleName
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, suspendPropertyChangeEvents
getClassName, getPresentationString, getPresentationString, getTransferData, getTransferDataFlavors, isDataFlavorSupported, lostOwnership, setClassName, setCreationDate, toString
getNiceVersion
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDialogPane, calculateBoundingBoxRelativeTo, configure, containsAllChildren, containsAllChildren, frameHasHandles, getActive, getActiveHandle, getAllArmedComponents, getAllArmedComponents, getAppearance, getBackground, getBackgroundColor, getBackgroundTransparency, getBackgroundVisible, getBoundingBox, getChild, getChild, getContainerMap, getDecorated, getDialogPane, getDialogPanes, getDialogPaneValue, getDialogPaneValues, getFrame, getFrameColor, getFrameHandlesVisible, getFrameLinesVisible, getFrameTransparency, getFrameVisible, getHeight, getRatioFix, getShortName, getTransform, getWidth, hasActiveChild, initialize, install, isInside, isInside, isInternalMouseListenerActive, registerContainer, removeDialogPane, resetActiveHandle, scaleStroke, scaleStroke, setActive, setActiveHandle, setAppearance, setBackgroundColor, setBackgroundTransparency, setBackgroundVisible, setContainerMap, setDecorated, setDialogPaneValues, setFrameColor, setFrameHandlesVisible, setFrameLinesVisible, setFrameTransparency, setFrameVisible, setInternalMouseListenerActive, setRatioFix, setTransform, transformPoint, transformPoint, uninstall, unregisterContainer
getInfoBusName, getMemberName, isConnected, setInfoBusName, setMemberName
fireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getProperty, getPropertyGroup, setProperty, setPropertyGroup, suspendChangeManager
getCommands, getPersistentObjectNames
destroyController
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEvents
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListener
getAuthor, getBuild, getClassName, getCompany, getCompanyInternetAddress, getCopyright, getCreationDate, getCreationDate, getDateFormatString, getDescription, getIcon, getIcon, getIconKey, getIconKey, getName, getPresentationString, getPresentationString, getSupportEMail, getTitle, getTitleName, setAuthor, setBuild, setClassName, setCompany, setCompanyInternetAddress, setCopyright, setCreationDate, setCreationDate, setDateFormatString, setDescription, setDescriptor, setIcon, setIcon, setIconKey, setIconKey, setName, setSupportEMail, setTitleName
getTransferData, getTransferDataFlavors, isDataFlavorSupported
addCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommands
getPresentationString, getPresentationString
getVersion, release
public static final java.lang.String version
public static final float YAXIS_OFFSET
protected boolean horizontalTile
protected boolean verticalTile
protected boolean singleScale
protected boolean legendEnabled
protected P2DBoundingBoxInterface getSubBoundingBox(java.lang.String key, double width, double height, double x1, double y1, double x2, double y2)
The
- keyword for the subcomponent.protected void calcTitleBounds(P2DComponentInterface component, P2DBoundingBoxInterface bb)
protected void calcLegendBounds(P2DComponentInterface component, P2DBoundingBoxInterface bb)
protected void calcYAxisBounds(P2DComponentInterface component, P2DBoundingBoxInterface bb)
protected void calcXAxisBounds(P2DComponentInterface component, P2DBoundingBoxInterface bb)
protected void calculateBounds(P2DComponentInterface component)
public P2DTextInterface setTitleComponent(P2DComponentInterface component, java.lang.String titleString)
setTitleComponent
in interface P2DPlotModelInterface
titleString
- The title string.public P2DTextInterface setTitleComponent(P2DComponentInterface component, FwkArrayInterface arr)
setTitleComponent
in interface P2DPlotModelInterface
arr
- an array containing the title stings.public P2DTextInterface setTitleComponent(P2DComponentInterface component, P2DTextInterface text)
setTitleComponent
in interface P2DPlotModelInterface
text
- The P2D text component used as title.public P2DLegendInterface setLegendComponent(P2DComponentInterface component, P2DLegendInterface legend)
setLegendComponent
in interface P2DPlotModelInterface
text
- The P2D legend component.public P2DTextInterface getTitleComponent(P2DComponentInterface component)
getTitleComponent
in interface P2DPlotModelInterface
public P2DLegendInterface getLegendComponent(P2DComponentInterface component)
getLegendComponent
in interface P2DPlotModelInterface
protected P2DTextInterface createTitleComponent(P2DComponentInterface component)
component
- The plot component.protected P2DLegendInterface createLegendComponent(P2DComponentInterface component)
component
- The plot component.public void clearChannelComponents(P2DComponentInterface component)
clearChannelComponents
in interface P2DPlotModelInterface
yName
- The name of the channel to be added.public P2DChannelInterface[] addChannelComponent(P2DComponentInterface component, java.lang.String xName, java.lang.String yName)
addChannelComponent
in interface P2DPlotModelInterface
xName
- The name of the channel to be added.yName
- The name of the channel to be added.public P2DChannelInterface[] addChannelComponent(P2DComponentInterface component, java.lang.String yName)
addChannelComponent
in interface P2DPlotModelInterface
yName
- The name of the channel to be added.public P2DChannelInterface[] setChannelComponent(P2DComponentInterface component, java.lang.String yName)
setChannelComponent
in interface P2DPlotModelInterface
yName
- The name of the channel to be displayed as y-channel versus index.protected P2DChannelInterface createChannelComponent(P2DComponentInterface component, java.lang.String yName)
public P2DChannelInterface[] setChannelComponent(P2DComponentInterface component, java.lang.String xName, java.lang.String yName)
setChannelComponent
in interface P2DPlotModelInterface
xName
- The name of the channel to be displayed as x-channel.yName
- The name of the channel to be displayed as y-channel.public P2DChannelInterface getChannelComponent(P2DComponentInterface component)
getChannelComponent
in interface P2DPlotModelInterface
public P2DChannelInterface[] getChannelComponents(P2DComponentInterface component)
getChannelComponents
in interface P2DPlotModelInterface
public boolean hasChannels(P2DComponentInterface component)
hasChannels
in interface P2DPlotModelInterface
public P2DChannelInterface getChannelComponent(P2DComponentInterface component, java.lang.String yName)
getChannelComponent
in interface P2DPlotModelInterface
yName
- The name of the channel for that the component should be returned.public P2DAxisInterface getXAxisComponent(P2DComponentInterface component)
getXAxisComponent
in interface P2DPlotModelInterface
public P2DAxisInterface getYAxisComponent(P2DComponentInterface component, java.lang.String yName)
getYAxisComponent
in interface P2DPlotModelInterface
yName
- The name channel for that the axis should be returned.public P2DAxisInterface[] getAllYAxisComponents(P2DComponentInterface component)
getAllYAxisComponents
in interface P2DPlotModelInterface
public P2DAxisInterface getYAxisComponent(P2DComponentInterface component)
getYAxisComponent
in interface P2DPlotModelInterface
public P2DMarkerInterface getMarkerComponent(P2DComponentInterface component)
getMarkerComponent
in interface P2DPlotModelInterface
public void setXChannelName(P2DComponentInterface component, java.lang.String xName)
setXChannelName
in interface P2DPlotModelInterface
xName
- the name of the x channel.public java.lang.String getXChannelName(P2DComponentInterface component)
getXChannelName
in interface P2DPlotModelInterface
public boolean boundsAcceptable(P2DComponentInterface component, java.awt.geom.Point2D lower, java.awt.geom.Point2D upper)
boundsAcceptable
in interface P2DModelInterface
boundsAcceptable
in class P2DComponentModel
component
- The component that belongs to that model.upper
- The upper point of the bounds to be checked.lower
- The lower point of the bounds to be checked.public void setBoundingBox(P2DComponentInterface component, P2DBoundingBoxInterface boundingBox)
setBoundingBox
in interface P2DModelInterface
setBoundingBox
in class P2DComponentModel
boundingBox
- the new bounding box.component
- The component that belongs to that model.public boolean getHorizontalTile(P2DComponentInterface component)
getHorizontalTile
in interface P2DPlotModelInterface
public void setHorizontalTile(P2DComponentInterface component, boolean flag)
setHorizontalTile
in interface P2DPlotModelInterface
flag
- if public boolean getSingleScale(P2DComponentInterface component)
getSingleScale
in interface P2DPlotModelInterface
public void setSingleScale(P2DComponentInterface component, boolean flag)
setSingleScale
in interface P2DPlotModelInterface
flag
- if public boolean getVerticalTile(P2DComponentInterface component)
getVerticalTile
in interface P2DPlotModelInterface
public void setVerticalTile(P2DComponentInterface component, boolean flag)
setVerticalTile
in interface P2DPlotModelInterface
flag
- if public void setLegendEnabled(P2DComponentInterface component, boolean flag)
setLegendEnabled
in interface P2DPlotModelInterface
flag
- if true the legend is enabled.public boolean getLegendEnabled(P2DComponentInterface component)
getLegendEnabled
in interface P2DPlotModelInterface
public void revalidate(P2DComponentInterface component, boolean recursive)
revalidate
in interface P2DModelInterface
revalidate
in class P2DComponentModel
component
- The component that belongs to that model.public FwkCommandInterface[] getCommands(P2DComponentInterface component)
getCommands
in interface P2DModelInterface
getCommands
in class P2DComponentModel
component
- The component that belongs to that model.protected java.lang.String getChannelTitle(P2DChannelInterface channel)