Called to initialize the tip so that it can be painted.

@param tipFor the scene object that we're a tip for.
@param boundary the boundary of all displayable space.
428372
public void layout (Graphics2D gfx, SceneObject tipFor, Rectangle boundary)
    {
        layout(gfx, ICON_PAD, EXTRA_PAD);
        bounds = new Rectangle(_size);

        // locate the most appropriate tip layout
        for (int ii = 0, ll = _layouts.size(); ii < ll; ii++) {
            LayoutReg reg = _layouts.get(ii);
            String act = tipFor.info.action == null ? "" : tipFor.info.action;
            if (act.startsWith(reg.prefix)) {
                reg.layout.layout(gfx, boundary, tipFor, this);
                break;
            }
        }
    }
1370637
function (tipElement, svg) {
    _element = tipElement;
    _bubble = _element.find('.bubble');
    _svg = svg;
    _svgPoint = svg[0].createSVGPoint();
  }
953210
public void setBorderColor(final Color PAINT) {
        if (null == borderColor) {
            _borderColor = PAINT;
            fireTileEvent(REDRAW_EVENT);
        } else {
            borderColor.set(PAINT);
        }
    }
442753
public void activateTooltip(boolean show)
    {
        if (show)
        {
            ToolTipManager.sharedInstance().registerComponent(this);
        }
        else
        {
            ToolTipManager.sharedInstance().unregisterComponent(this);
        }
        ToolTipManager.sharedInstance().setEnabled(show);
    }
64098
function Strategy(boundary){
    var DEFAULT_BOUNDARY = 10;
    this._boundary = boundary || DEFAULT_BOUNDARY;
    this._boundary =  BI.int2bigInt(boundary , Math.log(boundary));
}
829361
public void init()
    {
        JPanel view = new JPanel();
        view.setLayout(new BorderLayout());
        label = new JLabel(INITIAL_TEXT);
        Font font = new Font(Font.SANS_SERIF, Font.BOLD, 32);
        label.setFont(font);
        view.add(BorderLayout.CENTER, label);
        
        this.getContentPane().add(BorderLayout.CENTER, view);
        
        this.startRollingText();
    }
286691
@Override
    public void setShadowPadding(int left, int top, int right, int bottom) {
        mShadowBounds.set(left, top, right, bottom);
        super.setPadding(left + mContentPadding.left, top + mContentPadding.top,
                right + mContentPadding.right, bottom + mContentPadding.bottom);
    }
140647
public void setCustomPointer2Color(final Color COLOR) {
        this.customPointer2Color = new CustomColorDef(COLOR);
        init(getInnerBounds().width, getInnerBounds().height);
        repaint(getInnerBounds());
    }
799062
private void setWidth(int width) {

        m_borderTop.getStyle().setWidth(width + BORDER_WIDTH, Unit.PX);
        m_borderBottom.getStyle().setWidth(width + BORDER_WIDTH, Unit.PX);
        m_borderRight.getStyle().setLeft(width, Unit.PX);
    }
78073
@Override
    public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) {
        float x2 = (width - component.getWidth()) * component.getAlignmentX() + x;
        float y2 = (height - component.getHeight()) * component.getAlignmentY() + y;
        component.setLocation((int) x2, (int) y2);
    }
631290
public void setEdges(java.util.Collection<Edge> edges) {
        if (edges == null) {
            this.edges = null;
            return;
        }

        this.edges = new java.util.ArrayList<Edge>(edges);
    }
1371840
public void attach () {
		if (target == null) return;
		Array<EventListener> listeners = target.getListeners();
		for (EventListener listener : listeners) {
			if (listener instanceof TooltipInputListener) {
				throw new IllegalStateException("More than one tooltip cannot be added to the same target!");
			}
		}

		target.addListener(listener);
	}
500614
private void paint(Object parent, String name, Point point, GraphicsContext graphics) {
		if (!point.isEmpty()) {
			paint(parent, name + ".coordinate0", point.getCoordinate(), graphics);
		}
	}
805049
public void initNewList(int maxNumberOfTerms, String segmentName,
      int segmentNumber, String boundary) throws IOException {
    if (closed) {
      result = null;
      closed = false;
    }
    initNewListBasic(maxNumberOfTerms);
    if (segmentRegistration != null) {
      this.segmentName = segmentName;
      this.segmentNumber = segmentNumber;
      if (!segmentKeyValueList.containsKey(segmentName)) {
        segmentKeyValueList.put(segmentName, new HashMap<String, T1>());
        if (segmentRegistration.equals(SEGMENT_BOUNDARY_ASC)
            || segmentRegistration.equals(SEGMENT_BOUNDARY_DESC)) {
          if (boundary != null) {
            segmentValuesBoundary.put(segmentName,
                stringToBoundary(boundary, segmentNumber));
          } else {
            throw new IOException("expected boundary");
          }
        } else {
          segmentValuesBoundary.put(segmentName, null);
        }
        segmentValueTopListLast.put(segmentName, null);
      }
      this.segmentValueTopList = new ArrayList<>();
    }
  }
75362
public void setFilled(final boolean FILLED) {
        this.filled = FILLED;
        init(INNER_BOUNDS.width, INNER_BOUNDS.height);
        repaint(INNER_BOUNDS);
    }
833671
@Override
  public void setBorder(int color, float width) {
    mBorderColor = color;
    mBorderWidth = width;
    updatePath();
    invalidateSelf();
  }
549453
@SuppressWarnings("unchecked")
    @SneakyThrows
    public void init(final FillerRuleDefinitionEntity fillerRuleDefinitionEntity) {
        for (FillerRuleEntity each : fillerRuleDefinitionEntity.getRules()) {
            rules.put((Class<? extends SQLSegment>) Class.forName(each.getSqlSegmentClass()), (SQLSegmentFiller) Class.forName(each.getFillerClass()).newInstance());
        }
    }