public interface P2DLegendModelInterface extends P2DModelInterface
INFOBUS_SOURCEAUTHOR, 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| Modifier and Type | Method and Description |
|---|---|
void |
addChannel(P2DLegendInterface component,
P2DChannelInterface channel)
Add a channel component to the legend.
|
void |
addChannel(P2DLegendInterface component,
java.lang.String name)
Add a channel component to the legend.
|
float |
getAlignment(P2DLegendInterface component)
Get the alignment value.
|
FwkArrayInterface |
getAttributedText(P2DLegendInterface component)
Get the attributed string of the text.
|
P2DAttributorInterface |
getAttributor(P2DLegendInterface component)
Get the title attributor.
|
java.lang.String[] |
getChannelNames(P2DLegendInterface component)
Get an array containing all the names.
|
P2DChannelInterface[] |
getChannels(P2DLegendInterface component)
Get an array containing all channels.
|
void |
removeAllChannels(P2DLegendInterface component)
Remove all channel components from the legend.
|
void |
removeChannel(P2DLegendInterface component,
P2DChannelInterface channel)
Remove a channel component from the legend.
|
void |
removeChannel(P2DLegendInterface component,
java.lang.String name)
Remove a channel component from the legend.
|
void |
setAlignment(P2DLegendInterface component,
float ali)
Set the alignment of the text.
|
void |
setAttributor(P2DLegendInterface component,
P2DAttributorInterface attributor)
Set the title attributor.
|
addDialogPane, boundsAcceptable, calculateBoundingBoxRelativeTo, configure, containsAllChildren, containsAllChildren, frameHasHandles, getActive, getActiveHandle, getAllArmedComponents, getAllArmedComponents, getAppearance, getBackground, getBackgroundColor, getBackgroundTransparency, getBackgroundVisible, getBoundingBox, getChild, getChild, getCommands, 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, revalidate, scaleStroke, scaleStroke, setActive, setActiveHandle, setAppearance, setBackgroundColor, setBackgroundTransparency, setBackgroundVisible, setBoundingBox, setContainerMap, setDecorated, setDialogPaneValues, setFrameColor, setFrameHandlesVisible, setFrameLinesVisible, setFrameTransparency, setFrameVisible, setInternalMouseListenerActive, setRatioFix, setTransform, transformPoint, transformPoint, uninstall, unregisterContainergetInfoBusName, getMemberName, isConnected, setInfoBusName, setMemberNamefireItemAdded, fireItemDeleted, fireItemRevoked, fireItemValueChanged, getProperty, getPropertyGroup, setProperty, setPropertyGroup, suspendChangeManagergetCommands, getPersistentObjectNamesdestroyControlleraddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeArray, getPropertyChangeListenerArray, getPropertyChangeListenerArray, isPropertyChangeEventSuspended, removePropertyChangeListener, removePropertyChangeListener, setSource, suspendPropertyChangeEventsaddVetoableChangeListener, addVetoableChangeListener, getVetoableChangeArray, getVetoableChangeListenerArray, getVetoableChangeListenerArray, removeVetoableChangeListener, removeVetoableChangeListenergetAuthor, 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, setTitleNamegetTransferData, getTransferDataFlavors, isDataFlavorSupportedaddCommand, addCommand, addToGroup, addToGroup, clearCommands, commandsAvailable, deleteGroup, getCommand, getCommands, getGroup, groupExists, removeCommand, removeFromGroup, setCommandsgetPresentationString, getPresentationStringgetVersion, releasevoid addChannel(P2DLegendInterface component, java.lang.String name)
component - The legend component to that the model belongs.name - The name of the channel component to be added.void addChannel(P2DLegendInterface component, P2DChannelInterface channel)
component - The legend component to that the model belongs.channel - The the channel component to be added.void removeAllChannels(P2DLegendInterface component)
component - The legend component to that the model belongs.name - the name of the channel component to be removed.void removeChannel(P2DLegendInterface component, java.lang.String name)
component - The legend component to that the model belongs.name - the name of the channel component to be removed.void removeChannel(P2DLegendInterface component, P2DChannelInterface channel)
component - The legend component to that the model belongs.channel - the channel component to be removed.java.lang.String[] getChannelNames(P2DLegendInterface component)
P2DChannelInterface[] getChannels(P2DLegendInterface component)
void setAttributor(P2DLegendInterface component, P2DAttributorInterface attributor)
attributor - The title attributorP2DAttributorInterface getAttributor(P2DLegendInterface component)
FwkArrayInterface getAttributedText(P2DLegendInterface component)
void setAlignment(P2DLegendInterface component, float ali)
ali - The alignment value. 0 mean left and 1 is rigth aligned,float getAlignment(P2DLegendInterface component)