org.argouml.gefext
Class ArgoFigLine
java.lang.Object
FigLine
org.argouml.gefext.ArgoFigLine
- All Implemented Interfaces:
- javax.management.NotificationBroadcaster, javax.management.NotificationEmitter
public class ArgoFigLine
- extends FigLine
- implements javax.management.NotificationEmitter
Primitive Fig for drawing a line in a diagram.
Constructor Summary |
ArgoFigLine()
|
ArgoFigLine(int x1,
int y1,
int x2,
int y2)
|
ArgoFigLine(int x1,
int y1,
int x2,
int y2,
java.awt.Color lineColor)
Create a line from x1,y1 to x2,y2 in the given color |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArgoFigLine
public ArgoFigLine()
ArgoFigLine
public ArgoFigLine(int x1,
int y1,
int x2,
int y2)
ArgoFigLine
public ArgoFigLine(int x1,
int y1,
int x2,
int y2,
java.awt.Color lineColor)
- Create a line from x1,y1 to x2,y2 in the given color
- Parameters:
x1
- x1y1
- y1x2
- x2y2
- y2lineColor
- color of line
deleteFromModel
public void deleteFromModel()
removeNotificationListener
public void removeNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws javax.management.ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface javax.management.NotificationEmitter
- Throws:
javax.management.ListenerNotFoundException
addNotificationListener
public void addNotificationListener(javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback)
throws java.lang.IllegalArgumentException
- Specified by:
addNotificationListener
in interface javax.management.NotificationBroadcaster
- Throws:
java.lang.IllegalArgumentException
getNotificationInfo
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo
in interface javax.management.NotificationBroadcaster
removeNotificationListener
public void removeNotificationListener(javax.management.NotificationListener listener)
throws javax.management.ListenerNotFoundException
- Specified by:
removeNotificationListener
in interface javax.management.NotificationBroadcaster
- Throws:
javax.management.ListenerNotFoundException