public interface P2DTextModelInterface extends P2DModelInterface
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
Modifier and Type | Method and Description |
---|---|
float |
getAlignment(P2DTextInterface component)
Get the alignment value.
|
FwkArrayInterface |
getAttributedText(P2DTextInterface component)
Get the attributed string of the text.
|
P2DAttributorInterface |
getAttributor(P2DComponentInterface component)
Get the title attributor.
|
java.lang.String |
getLine(P2DTextInterface component,
int index)
Retrieves a line according to the specified index.
|
int |
getSize(P2DTextInterface component)
Retrieves the size of the array.
|
java.lang.String |
getText(P2DTextInterface component)
Retrievs the text string.
|
FwkArrayInterface |
getTextArray(P2DTextInterface component)
Retrievs the text array of the object.
|
void |
setAlignment(P2DTextInterface component,
float ali)
Set the alignment of the text.
|
void |
setAttributor(P2DComponentInterface component,
P2DAttributorInterface attributor)
Set the title attributor.
|
void |
setText(P2DTextInterface component,
java.lang.String text)
Sets the text of the object.
|
void |
setTextArray(P2DTextInterface component,
FwkArrayInterface text)
Sets the text array of the object.
|
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, 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
void setText(P2DTextInterface component, java.lang.String text)
text
- The new text of the object.void setTextArray(P2DTextInterface component, FwkArrayInterface text)
text
- The new text array of the object.FwkArrayInterface getTextArray(P2DTextInterface component)
java.lang.String getText(P2DTextInterface component)
int getSize(P2DTextInterface component)
java.lang.String getLine(P2DTextInterface component, int index)
index
- The line number to be retireved.FwkArrayInterface getAttributedText(P2DTextInterface component)
void setAlignment(P2DTextInterface component, float ali)
ali
- The alignment value. 0 mean left and 1 is rigth aligned,float getAlignment(P2DTextInterface component)
void setAttributor(P2DComponentInterface component, P2DAttributorInterface attributor)
attributor
- The title attributorP2DAttributorInterface getAttributor(P2DComponentInterface component)