org.argouml.gefext
Class ArgoFigLine

java.lang.Object
  extended by FigLine
      extended by 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
 
Method Summary
 void addNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
           
 void deleteFromModel()
           
 javax.management.MBeanNotificationInfo[] getNotificationInfo()
           
 void removeNotificationListener(javax.management.NotificationListener listener)
           
 void removeNotificationListener(javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 - x1
y1 - y1
x2 - x2
y2 - y2
lineColor - color of line
Method Detail

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


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook