@Test public void testGetFontPosition() { assertEquals("INSIDE", decorator.getFontPosition()); }
@Override public String getFontPosition() { return getLabelLayout() .getDirectionLayout() .getReferencePosition() .name(); }
WiresTextDecorator implements HasTitle<WiresTextDecorator> { @Override public String getFontPosition() { return getLabelLayout() .getDirectionLayout() .getReferencePosition() .name(); } }
WiresTextDecorator implements HasTitle<WiresTextDecorator> { @Override public String getFontPosition() { return getLabelLayout() .getDirectionLayout() .getReferencePosition() .name(); } WiresTextDecorator(final Supplier<ViewEventHandlerManager> eventHandlerManager,
                              final WiresShapeViewExt shape); }
WiresTextDecorator implements HasTitle<WiresTextDecorator> { @Override public String getFontPosition() { return getLabelLayout() .getDirectionLayout() .getReferencePosition() .name(); } WiresTextDecorator(final Supplier<ViewEventHandlerManager> eventHandlerManager,
                              final WiresShapeViewExt shape); void setTextClickHandler(final ViewHandler<TextClickEvent> textClickEventViewHandler); void setTextDblClickHandler(final ViewHandler<TextDoubleClickEvent> textDblClickEventViewHandler); void setTextEnterHandler(final ViewHandler<TextEnterEvent> textOverHandlerViewHandler); void setTextExitHandler(final ViewHandler<TextExitEvent> textOutEventViewHandler); @SuppressWarnings("unchecked") WiresTextDecorator setTitle(final String title); @Override WiresTextDecorator setMargins(final Map<Enum, Double> margins); @SuppressWarnings("unchecked") WiresTextDecorator setTitleRotation(final double degrees); @SuppressWarnings("unchecked") WiresTextDecorator setTitleStrokeColor(final String color); @SuppressWarnings("unchecked") WiresTextDecorator setTitleFontFamily(final String fontFamily); @SuppressWarnings("unchecked") WiresTextDecorator setTitleFontSize(final double fontSize); @SuppressWarnings("unchecked") WiresTextDecorator setTitleFontColor(final String fillColor); @SuppressWarnings("unchecked") WiresTextDecorator setTitleAlpha(final double alpha); @SuppressWarnings("unchecked") WiresTextDecorator setTitleStrokeWidth(final double strokeWidth); @Override String getTitleFontFamily(); @Override double getTitleFontSize(); @Override String getTitlePosition(); @Override String getOrientation(); @Override double getMarginX(); @Override String getFontPosition(); @Override String getFontAlignment(); WiresTextDecorator setTitleStrokeAlpha(final double strokeAlpha); WiresTextDecorator setTextWrapper(final TextWrapperStrategy strategy); @Override WiresTextDecorator setTitleXOffsetPosition(final Double xOffset); @Override WiresTextDecorator setTitleYOffsetPosition(final Double yOffset); @Override void setTextBoundaries(final double width, final double height); @SuppressWarnings("unchecked") WiresTextDecorator moveTitleToTop(); Text getView(); LabelLayout getLabelLayout(); WiresTextDecorator setTitlePosition(final HasTitle.VerticalAlignment verticalAlignment, final HasTitle.HorizontalAlignment horizontalAlignment,
                                               final HasTitle.ReferencePosition referencePosition, final HasTitle.Orientation orientation); @Override WiresTextDecorator setTextSizeConstraints(final Size sizeConstraints); void update(); void destroy(); }
WiresTextDecorator implements HasTitle<WiresTextDecorator> { @Override public String getFontPosition() { return getLabelLayout() .getDirectionLayout() .getReferencePosition() .name(); } WiresTextDecorator(final Supplier<ViewEventHandlerManager> eventHandlerManager,
                              final WiresShapeViewExt shape); void setTextClickHandler(final ViewHandler<TextClickEvent> textClickEventViewHandler); void setTextDblClickHandler(final ViewHandler<TextDoubleClickEvent> textDblClickEventViewHandler); void setTextEnterHandler(final ViewHandler<TextEnterEvent> textOverHandlerViewHandler); void setTextExitHandler(final ViewHandler<TextExitEvent> textOutEventViewHandler); @SuppressWarnings("unchecked") WiresTextDecorator setTitle(final String title); @Override WiresTextDecorator setMargins(final Map<Enum, Double> margins); @SuppressWarnings("unchecked") WiresTextDecorator setTitleRotation(final double degrees); @SuppressWarnings("unchecked") WiresTextDecorator setTitleStrokeColor(final String color); @SuppressWarnings("unchecked") WiresTextDecorator setTitleFontFamily(final String fontFamily); @SuppressWarnings("unchecked") WiresTextDecorator setTitleFontSize(final double fontSize); @SuppressWarnings("unchecked") WiresTextDecorator setTitleFontColor(final String fillColor); @SuppressWarnings("unchecked") WiresTextDecorator setTitleAlpha(final double alpha); @SuppressWarnings("unchecked") WiresTextDecorator setTitleStrokeWidth(final double strokeWidth); @Override String getTitleFontFamily(); @Override double getTitleFontSize(); @Override String getTitlePosition(); @Override String getOrientation(); @Override double getMarginX(); @Override String getFontPosition(); @Override String getFontAlignment(); WiresTextDecorator setTitleStrokeAlpha(final double strokeAlpha); WiresTextDecorator setTextWrapper(final TextWrapperStrategy strategy); @Override WiresTextDecorator setTitleXOffsetPosition(final Double xOffset); @Override WiresTextDecorator setTitleYOffsetPosition(final Double yOffset); @Override void setTextBoundaries(final double width, final double height); @SuppressWarnings("unchecked") WiresTextDecorator moveTitleToTop(); Text getView(); LabelLayout getLabelLayout(); WiresTextDecorator setTitlePosition(final HasTitle.VerticalAlignment verticalAlignment, final HasTitle.HorizontalAlignment horizontalAlignment,
                                               final HasTitle.ReferencePosition referencePosition, final HasTitle.Orientation orientation); @Override WiresTextDecorator setTextSizeConstraints(final Size sizeConstraints); void update(); void destroy();  }