public class LinkSubNetwork extends Link implements TSubNetwork
alarmState, businessObject, clientProperties, delegate, displayName, elements, iconUrl, id, imageUrl, name, parent, propertyChangeSupport, selected, toolTipText, userObject, userProperties, visible
Constructor and Description |
---|
LinkSubNetwork()
Creates a LinkSubNetwork object.
|
LinkSubNetwork(Node from,
Node to)
Creates a LinkSubNetwork object by given from node and to node.
|
LinkSubNetwork(java.lang.Object id)
Creates a LinkSubNetwork object with given id.
|
LinkSubNetwork(java.lang.Object id,
Node from,
Node to)
Creates a LinkSubNetwork object between from node and to node
with given id.
|
Modifier and Type | Method and Description |
---|---|
Background |
getBackground()
Get the background of this subnetwork.
|
java.lang.String |
getDataSource()
Get the XML datasource of this subnetwork.
|
java.lang.String |
getSVGUIClassID()
Returns a string that specifies the full qualified name of the ui class
that responsible for converting this element to svg content.
|
java.awt.Point |
getViewPoint()
Get the view point of this subnetwork.
|
boolean |
isDataLoaded()
Tells whether data of this subnetwork has been loaded
if datasource has been specified.
|
void |
setBackground(Background background)
Set the background of this subnetwork.
|
void |
setColorBackground(java.awt.Color color)
Sets the color background of this subnetwork.
|
void |
setDataLoaded(boolean dataLoaded)
Set data loaded flag value.
|
void |
setDataSource(java.lang.String dataSource)
Set the xml datasource of this subnetwork.
|
void |
setImageBackground(java.lang.String imageURL)
Sets the image background of this subnetwork.
|
void |
setTextureBackground(java.lang.String imageURL)
Sets the texture background of this subnetwork.
|
void |
setViewPoint(java.awt.Point viewPoint)
Set the view point of this subnetwork.
|
checkAgentNode, copy, copy, copy, copy, copy, copy, copy, copy, getBounds, getCenterLocation, getFrom, getFromAgent, getHeight, getLinkBlinkingColor, getLinkBundleID, getLinkBundleIndex, getLinkBundleSize, getLinkColor, getLinkCornerType, getLinkCornerXRadius, getLinkCornerYRadius, getLinkExtend, getLinkFlowingColor, getLinkFlowingWidth, getLinkFromArrowColor, getLinkFromArrowOutlineColor, getLinkFromArrowStyle, getLinkFromArrowXOffset, getLinkFromArrowYOffset, getLinkFromPosition, getLinkFromXOffset, getLinkFromYOffset, getLinkHandlerPosition, getLinkHandlerXOffset, getLinkHandlerYOffset, getLinkOrthogonalDirection, getLinkOutlineColor, getLinkOutlineWidth, getLinkProportion, getLinkSplitValue, getLinkStyle, getLinkToArrowColor, getLinkToArrowOutlineColor, getLinkToArrowStyle, getLinkToArrowXOffset, getLinkToArrowYOffset, getLinkToPosition, getLinkToXOffset, getLinkToYOffset, getLinkType, getLinkWidth, getLocation, getTo, getToAgent, getUIClassID, getWidth, getX, getY, isBundleAgent, isLink3D, isLinkAntialias, isLinkBlinking, isLinkBundleExpand, isLinkFlowing, isLinkFlowingConverse, isLinkFromArrow, isLinkFromArrowCenter, isLinkFromArrowOutline, isLinkHandlerVisible, isLinkHollow, isLinkLabelRotatable, isLinkToArrow, isLinkToArrowCenter, isLinkToArrowOutline, isLoop, isShapeFrozen, putClientProperty, putLink3D, putLinkAntialias, putLinkBlinking, putLinkBlinkingColor, putLinkBundleExpand, putLinkBundleID, putLinkBundleIndex, putLinkBundleSize, putLinkColor, putLinkCornerType, putLinkCornerXRadius, putLinkCornerYRadius, putLinkExtend, putLinkFlowing, putLinkFlowingColor, putLinkFlowingConverse, putLinkFlowingWidth, putLinkFromArrow, putLinkFromArrowCenter, putLinkFromArrowColor, putLinkFromArrowOutline, putLinkFromArrowOutlineColor, putLinkFromArrowStyle, putLinkFromArrowXOffset, putLinkFromArrowYOffset, putLinkFromPosition, putLinkFromXOffset, putLinkFromYOffset, putLinkHandlerPosition, putLinkHandlerVisible, putLinkHandlerXOffset, putLinkHandlerYOffset, putLinkHollow, putLinkLabelRotatable, putLinkOrthogonalDirection, putLinkOutlineColor, putLinkOutlineWidth, putLinkProportion, putLinkSplitValue, putLinkStyle, putLinkToArrow, putLinkToArrowCenter, putLinkToArrowColor, putLinkToArrowOutline, putLinkToArrowOutlineColor, putLinkToArrowStyle, putLinkToArrowXOffset, putLinkToArrowYOffset, putLinkToPosition, putLinkToXOffset, putLinkToYOffset, putLinkWidth, setBundleExpand, setCenterLocation, setCenterLocation, setFrom, setLinkType, setLocation, setLocation, setLocation, setShapeFrozen, setTo
addAttachment, addChartBubble, addChartValue, addChartValue, addChild, addChild, addPropertyChangeListener, addPropertyChangeListener, children, childrenSize, clearChartValues, clearChildren, containsAttachment, createAlarmState, createChildrenList, createChildrenMap, equals, exportValues, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlarmBalloonAlpha, getAlarmBalloonDirection, getAlarmBalloonOutlineColor, getAlarmBalloonPosition, getAlarmBalloonShadowColor, getAlarmBalloonShadowOffset, getAlarmBalloonTextColor, getAlarmBalloonTextFont, getAlarmBalloonXOffset, getAlarmBalloonYOffset, getAlarmState, getAttachmentOrientation, getAttachmentPosition, getAttachmentXGap, getAttachmentXOffset, getAttachmentYGap, getAttachmentYOffset, getBorderAntialias, getBorderColor, getBorderFillColor, getBorderInsets, getBorderShapeFactory, getBorderStroke, getBorderType, getBusinessObject, getChartBubbleShapeBubbleVisible, getChartBubbleShapeLineVisible, getChartBubbleStyle, getChartColor, getChartDialHandLength, getChartDialHandStyle, getChartFormat, getChartInflexionStyle, getChartMarkers, getChartMax, getChartMin, getChartPercentMarkerPostion, getChartPercentSpareColor, getChartPercentSpareCoverColor, getChartPercentSpareFill, getChartPercentStyle, getChartSectorDivisionPosition, getChartSectorStroke, getChartStroke, getChartValue, getChartValues, getChartValueTextPosition, getChildren, getChildrenByID, getClientProperties, getClientProperty, getDisplayName, getElementTreeIcon, getGeoCoordinate, getIcon, getIconURL, getID, getImage, getImageURL, getLabelBackground, getLabelBorderColor, getLabelBorderStroke, getLabelColor, getLabelFont, getLabelHighlightBackground, getLabelHighlightForeground, getLabelIcon, getLabelMaxLength, getLabelOrientation, getLabelPosition, getLabelUnderlineColor, getLabelUnderlineStroke, getLabelXGap, getLabelXOffset, getLabelYGap, getLabelYOffset, getLayerID, getMessageArc, getMessageBackground, getMessageBorderColor, getMessageBorderStroke, getMessageComponent, getMessageContent, getMessageDirection, getMessageFont, getMessageForeground, getMessageGradientColor, getMessageGradientFactory, getMessageHeight, getMessageMinimizedIcon, getMessagePosition, getMessageShadowColor, getMessageStyle, getMessageTail, getMessageWidth, getMessageXGap, getMessageXOffset, getMessageYGap, getMessageYOffset, getName, getParent, getPropertyChangeSupport, getPropertyValue, getRenderAlpha, getRenderColor, getStateOutlineColor, getStateOutlineInsets, getStateOutlineWidth, getTextureFactory, getToolTipText, getUserObject, getUserProperties, getUserProperty, isAdjustToBottom, isAlarmBalloonShownOnTop, isAlarmBalloonTextBlinkable, isAlarmBalloonVisible, isBorderFill, isBorderUnderneath, isBorderVisible, isBorderXormode, isDescendantOf, isDrawIconShape, isEmpty, isEnableAlarmPropagationFromChildren, isLabelBorder, isLabelHighlightable, isLabelSelectable, isLabelUnderline, isLabelVisible, isMessageAutoAdjustDirection, isMessageBorderVisible, isMessageClosable, isMessageGradient, isMessageMinimizable, isMessageMinimized, isMessageOpaque, isMessageShadowVisible, isMessageShownOnTop, isMessageShrinkable, isMessageShrinked, isParentOf, isSelected, isVisible, putAlarmBalloonAlpha, putAlarmBalloonDirection, putAlarmBalloonOutlineColor, putAlarmBalloonPosition, putAlarmBalloonShadowColor, putAlarmBalloonShadowOffset, putAlarmBalloonShownOnTop, putAlarmBalloonTextBlinkable, putAlarmBalloonTextColor, putAlarmBalloonTextFont, putAlarmBalloonVisible, putAlarmBalloonXoffset, putAlarmBalloonYoffset, putAttachmentOrientation, putAttachmentPosition, putAttachmentXGap, putAttachmentXOffset, putAttachmentYGap, putAttachmentYOffset, putBorderAntialias, putBorderColor, putBorderFill, putBorderFillColor, putBorderInsets, putBorderShapeFactory, putBorderStroke, putBorderType, putBorderUnderneath, putBorderVisible, putBorderXormode, putChartBubbleShapeBubbleVisible, putChartBubbleShapeLineVisible, putChartBubbleStyle, putChartColor, putChartDialHandLength, putChartDialHandStyle, putChartFormat, putChartInflexionStyle, putChartMarkers, putChartMax, putChartMin, putChartPercentMarkerPostion, putChartPercentSpareColor, putChartPercentSpareCoverColor, putChartPercentSpareFill, putChartPercentStyle, putChartSectorDivisionPosition, putChartSectorStroke, putChartStroke, putChartValue, putChartValues, putChartValueTextPosition, putClientProperty, putClientProperty, putClientProperty, putDrawIconShape, putElementTreeIcon, putLabelBackground, putLabelBorder, putLabelBorderColor, putLabelBorderStroke, putLabelColor, putLabelFont, putLabelHighlightable, putLabelHighlightBackground, putLabelHighlightForeground, putLabelIcon, putLabelMaxLength, putLabelOrientation, putLabelPosition, putLabelSelectable, putLabelUnderline, putLabelUnderlineColor, putLabelUnderlineStroke, putLabelVisible, putLabelXGap, putLabelXOffset, putLabelYGap, putLabelYOffset, putMessageArc, putMessageAutoAdjustDirection, putMessageBackground, putMessageBorderColor, putMessageBorderStroke, putMessageBorderVisible, putMessageClosable, putMessageComponent, putMessageContent, putMessageDirection, putMessageFont, putMessageForeground, putMessageGradient, putMessageGradientColor, putMessageGradientFactory, putMessageHeight, putMessageMinimizable, putMessageMinimized, putMessageMinimizedIcon, putMessageOpaque, putMessagePosition, putMessageShadowColor, putMessageShadowVisible, putMessageShownOnTop, putMessageShrinkable, putMessageShrinked, putMessageStyle, putMessageTail, putMessageWidth, putMessageXGap, putMessageXOffset, putMessageYGap, putMessageYOffset, putRenderAlpha, putRenderColor, putStateOutlineColor, putStateOutlineInsets, putStateOutlineWidth, putTextureFactory, putUserProperty, putUserProperty, putUserProperty, removeAttachment, removeChild, removeFromParent, removePropertyChangeListener, removePropertyChangeListener, setAlarmState, setBusinessObject, setChartValues, setDisplayName, setEnableAlarmPropagationFromChildren, setGeoCoordinate, setIcon, setImage, setLayerID, setName, setParent, setPropertyValue, setSelected, setToolTipText, setUserObject, setVisible, toString, updateUI
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAttachment, addChartBubble, addChartValue, addChartValue, addChild, addChild, addPropertyChangeListener, addPropertyChangeListener, children, childrenSize, clearChartValues, clearChildren, containsAttachment, copy, copy, copy, copy, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAlarmBalloonAlpha, getAlarmBalloonDirection, getAlarmBalloonOutlineColor, getAlarmBalloonPosition, getAlarmBalloonShadowColor, getAlarmBalloonShadowOffset, getAlarmBalloonTextColor, getAlarmBalloonTextFont, getAlarmBalloonXOffset, getAlarmBalloonYOffset, getAlarmState, getAttachmentOrientation, getAttachmentPosition, getAttachmentXGap, getAttachmentXOffset, getAttachmentYGap, getAttachmentYOffset, getBorderAntialias, getBorderColor, getBorderFillColor, getBorderInsets, getBorderShapeFactory, getBorderStroke, getBorderType, getBounds, getBusinessObject, getCenterLocation, getChartBubbleShapeBubbleVisible, getChartBubbleShapeLineVisible, getChartBubbleStyle, getChartColor, getChartDialHandLength, getChartDialHandStyle, getChartFormat, getChartInflexionStyle, getChartMarkers, getChartMax, getChartMin, getChartPercentMarkerPostion, getChartPercentSpareColor, getChartPercentSpareCoverColor, getChartPercentSpareFill, getChartPercentStyle, getChartSectorDivisionPosition, getChartSectorStroke, getChartStroke, getChartValue, getChartValues, getChartValueTextPosition, getChildren, getChildrenByID, getClientProperties, getClientProperty, getDisplayName, getElementTreeIcon, getGeoCoordinate, getHeight, getIcon, getIconURL, getID, getImage, getImageURL, getLabelBackground, getLabelBorderColor, getLabelBorderStroke, getLabelColor, getLabelFont, getLabelHighlightBackground, getLabelHighlightForeground, getLabelIcon, getLabelMaxLength, getLabelOrientation, getLabelPosition, getLabelUnderlineColor, getLabelUnderlineStroke, getLabelXGap, getLabelXOffset, getLabelYGap, getLabelYOffset, getLayerID, getLocation, getMessageArc, getMessageBackground, getMessageBorderColor, getMessageBorderStroke, getMessageComponent, getMessageContent, getMessageDirection, getMessageFont, getMessageForeground, getMessageHeight, getMessageMinimizedIcon, getMessagePosition, getMessageShadowColor, getMessageStyle, getMessageTail, getMessageWidth, getMessageXGap, getMessageXOffset, getMessageYGap, getMessageYOffset, getName, getParent, getPropertyChangeSupport, getPropertyValue, getRenderAlpha, getRenderColor, getStateOutlineColor, getStateOutlineInsets, getStateOutlineWidth, getTextureFactory, getToolTipText, getUIClassID, getUserObject, getUserProperties, getUserProperty, getWidth, getX, getY, isAdjustToBottom, isAlarmBalloonShownOnTop, isAlarmBalloonTextBlinkable, isAlarmBalloonVisible, isBorderFill, isBorderUnderneath, isBorderVisible, isBorderXormode, isDescendantOf, isDrawIconShape, isEmpty, isEnableAlarmPropagationFromChildren, isLabelBorder, isLabelHighlightable, isLabelSelectable, isLabelUnderline, isLabelVisible, isMessageAutoAdjustDirection, isMessageBorderVisible, isMessageClosable, isMessageMinimizable, isMessageMinimized, isMessageOpaque, isMessageShadowVisible, isMessageShownOnTop, isMessageShrinkable, isMessageShrinked, isParentOf, isSelected, isVisible, putAlarmBalloonAlpha, putAlarmBalloonDirection, putAlarmBalloonOutlineColor, putAlarmBalloonPosition, putAlarmBalloonShadowColor, putAlarmBalloonShadowOffset, putAlarmBalloonShownOnTop, putAlarmBalloonTextBlinkable, putAlarmBalloonTextColor, putAlarmBalloonTextFont, putAlarmBalloonVisible, putAlarmBalloonXoffset, putAlarmBalloonYoffset, putAttachmentOrientation, putAttachmentPosition, putAttachmentXGap, putAttachmentXOffset, putAttachmentYGap, putAttachmentYOffset, putBorderAntialias, putBorderColor, putBorderFill, putBorderFillColor, putBorderInsets, putBorderShapeFactory, putBorderStroke, putBorderType, putBorderUnderneath, putBorderVisible, putBorderXormode, putChartBubbleShapeBubbleVisible, putChartBubbleShapeLineVisible, putChartBubbleStyle, putChartColor, putChartDialHandLength, putChartDialHandStyle, putChartFormat, putChartInflexionStyle, putChartMarkers, putChartMax, putChartMin, putChartPercentMarkerPostion, putChartPercentSpareColor, putChartPercentSpareCoverColor, putChartPercentSpareFill, putChartPercentStyle, putChartSectorDivisionPosition, putChartSectorStroke, putChartStroke, putChartValue, putChartValues, putChartValueTextPosition, putClientProperty, putClientProperty, putClientProperty, putDrawIconShape, putElementTreeIcon, putLabelBackground, putLabelBorder, putLabelBorderColor, putLabelBorderStroke, putLabelColor, putLabelFont, putLabelHighlightable, putLabelHighlightBackground, putLabelHighlightForeground, putLabelIcon, putLabelMaxLength, putLabelOrientation, putLabelPosition, putLabelSelectable, putLabelUnderline, putLabelUnderlineColor, putLabelUnderlineStroke, putLabelVisible, putLabelXGap, putLabelXOffset, putLabelYGap, putLabelYOffset, putMessageArc, putMessageAutoAdjustDirection, putMessageBackground, putMessageBorderColor, putMessageBorderStroke, putMessageBorderVisible, putMessageClosable, putMessageComponent, putMessageContent, putMessageDirection, putMessageFont, putMessageForeground, putMessageHeight, putMessageMinimizable, putMessageMinimized, putMessageMinimizedIcon, putMessageOpaque, putMessagePosition, putMessageShadowColor, putMessageShadowVisible, putMessageShownOnTop, putMessageShrinkable, putMessageShrinked, putMessageStyle, putMessageTail, putMessageWidth, putMessageXGap, putMessageXOffset, putMessageYGap, putMessageYOffset, putRenderAlpha, putRenderColor, putStateOutlineColor, putStateOutlineInsets, putStateOutlineWidth, putTextureFactory, putUserProperty, putUserProperty, putUserProperty, removeAttachment, removeChild, removeFromParent, removePropertyChangeListener, removePropertyChangeListener, setAlarmState, setBusinessObject, setCenterLocation, setCenterLocation, setChartValues, setDisplayName, setEnableAlarmPropagationFromChildren, setGeoCoordinate, setIcon, setImage, setLayerID, setLocation, setLocation, setLocation, setName, setParent, setPropertyValue, setSelected, setToolTipText, setUserObject, setVisible, updateUI
public LinkSubNetwork()
public LinkSubNetwork(java.lang.Object id)
id
- Object the link id.public LinkSubNetwork(Node from, Node to)
from
- Node start nodeto
- Node end nodepublic java.awt.Point getViewPoint()
getViewPoint
in interface TSubNetwork
public void setViewPoint(java.awt.Point viewPoint)
setViewPoint
in interface TSubNetwork
viewPoint
- Point the new view point locationpublic Background getBackground()
getBackground
in interface TSubNetwork
public void setBackground(Background background)
setBackground
in interface TSubNetwork
background
- Background background objecdt of this subnetworkpublic void setTextureBackground(java.lang.String imageURL)
setTextureBackground
in interface TSubNetwork
imageURL
- the texture image urlTextureBackground
public void setImageBackground(java.lang.String imageURL)
setImageBackground
in interface TSubNetwork
imageURL
- the texture image urlImageBackground
public void setColorBackground(java.awt.Color color)
setColorBackground
in interface TSubNetwork
color
- the color of this backgroundColorBackground
public java.lang.String getDataSource()
getDataSource
in interface TSubNetwork
public void setDataSource(java.lang.String dataSource)
setDataSource
in interface TSubNetwork
dataSource
- Stringpublic boolean isDataLoaded()
isDataLoaded
in interface TSubNetwork
public void setDataLoaded(boolean dataLoaded)
setDataLoaded
in interface TSubNetwork
dataLoaded
- boolean true loaded, false otherwise.public java.lang.String getSVGUIClassID()
getSVGUIClassID
in interface Element
getSVGUIClassID
in class Link
ElementSVGUI
,
TSVGNetwork
Copyright © 2002 - 2010 Serva Software. All Rights Reserved.