Exemplo n.º 1
0
 public XYTitleAnnotation(double x, double y, Title title, RectangleAnchor anchor)
 {
   XYTitleAnnotation xyTitleAnnotation = this;
   if (title == null)
   {
     string str = "Null 'title' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else if (anchor == null)
   {
     string str = "Null 'anchor' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else
   {
     this.coordinateType = XYCoordinateType.__\u003C\u003ERELATIVE;
     this.x = x;
     this.y = y;
     this.maxWidth = 0.0;
     this.maxHeight = 0.0;
     this.title = title;
     this.anchor = anchor;
   }
 }
Exemplo n.º 2
0
 public TitleEntity(Shape area, Title title, string toolTipText, string urlText)
   : base(area, toolTipText, urlText)
 {
   TitleEntity titleEntity = this;
   if (title == null)
   {
     string str = "Null 'title' argument.";
     Throwable.__\u003CsuppressFillInStackTrace\u003E();
     throw new IllegalArgumentException(str);
   }
   else
     this.title = title;
 }
Exemplo n.º 3
0
 public TitleChangeEvent(Title title)
   : base((object) title)
 {
   TitleChangeEvent titleChangeEvent = this;
   this.title = title;
 }
Exemplo n.º 4
0
 public TitleEntity(Shape area, Title title)
   : this(area, title, (string) null)
 {
 }
Exemplo n.º 5
0
 public TitleEntity(Shape area, Title title, string toolTipText)
   : this(area, title, toolTipText, (string) null)
 {
 }
Exemplo n.º 6
0
 public XYTitleAnnotation(double x, double y, Title title)
   : this(x, y, title, RectangleAnchor.__\u003C\u003ECENTER)
 {
 }