public ColumnArrangement(HorizontalAlignment hAlign, VerticalAlignment vAlign, double hGap, double vGap) { base.\u002Ector(); ColumnArrangement columnArrangement = this; this.horizontalAlignment = hAlign; this.verticalAlignment = vAlign; this.horizontalGap = hGap; this.verticalGap = vGap; }
public ImageTitle(Image image, int height, int width, RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, RectangleInsets padding) : base(position, horizontalAlignment, verticalAlignment, padding) { ImageTitle imageTitle = this; if (image == null) { string str = "Null 'image' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new NullPointerException(str); } else { this.image = image; this.setHeight((double) height); this.setWidth((double) width); } }
public DateTitle(int style, Locale locale, Font font, Paint paint, RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, RectangleInsets padding) : base(DateFormat.getDateInstance(style, locale).format(new Date()), font, paint, position, horizontalAlignment, verticalAlignment, padding) { }
public TextTitle(string text, Font font, Paint paint, RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, RectangleInsets padding) : base(position, horizontalAlignment, verticalAlignment, padding) { TextTitle textTitle = this; this.expandToFitSpace = false; this.maximumLinesToDisplay = int.MaxValue; if (text == null) { string str = "Null 'text' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new NullPointerException(str); } else if (font == null) { string str = "Null 'font' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new NullPointerException(str); } else if (paint == null) { string str = "Null 'paint' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new NullPointerException(str); } else { this.text = text; this.font = font; this.paint = paint; this.textAlignment = horizontalAlignment; this.backgroundPaint = (Paint) null; this.content = (TextBlock) null; this.toolTipText = (string) null; this.urlText = (string) null; } }
public ImageTitle(Image image, RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment) : this(image, image.getHeight((ImageObserver) null), image.getWidth((ImageObserver) null), position, horizontalAlignment, verticalAlignment, Title.__\u003C\u003EDEFAULT_PADDING) { }
protected internal Title(RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, RectangleInsets padding) { Title title = this; if (position == null) { string str = "Null 'position' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else if (horizontalAlignment == null) { string str = "Null 'horizontalAlignment' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else if (verticalAlignment == null) { string str = "Null 'verticalAlignment' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else if (padding == null) { string str = "Null 'spacer' argument."; Throwable.__\u003CsuppressFillInStackTrace\u003E(); throw new IllegalArgumentException(str); } else { this.visible = true; this.position = position; this.horizontalAlignment = horizontalAlignment; this.verticalAlignment = verticalAlignment; this.setPadding(padding); this.listenerList = new EventListenerList(); this.notify = true; } }
protected internal Title(RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment) : this(position, horizontalAlignment, verticalAlignment, Title.__\u003C\u003EDEFAULT_PADDING) { }