Examples of HorizontalBaselineAnchor


Examples of org.dyno.visual.swing.widgets.grouplayout.anchor.HorizontalBaselineAnchor

      list.add(trio);
      return list;
    } else if (Math.abs(tb - sb) < THRESHOLD_DISTANCE) {
      List<Quartet> list = new ArrayList<Quartet>();
      int dh = dropBaseline.getHeightByBaseline(tb - sp.y);
      Quartet trio = new Quartet(tb, sp.y + dh, minx, maxr, new HorizontalBaselineAnchor(target));
      list.add(trio);
      return list;
    } else if (Math.abs(dby - nr) < THRESHOLD_DISTANCE) {
      List<Quartet> list = new ArrayList<Quartet>();
      Quartet trio = new Quartet(nr, nr, minx, maxr, new HorizontalTopRelatedAnchor(target));
View Full Code Here

Examples of org.dyno.visual.swing.widgets.grouplayout.anchor.HorizontalBaselineAnchor

    if (Math.abs(tb - sb) < THRESHOLD_DISTANCE) {
      List<Quartet> list = new ArrayList<Quartet>();
      int by = sp.y + todrop.getHeight();
      int th = by - tb;
      int H = dropBaseline.getHeightByDescent(th);
      Quartet trio = new Quartet(tb, by - H, minx, maxr, new HorizontalBaselineAnchor(target));
      list.add(trio);
      return list;
    } else if (Math.abs(dy - targety) < THRESHOLD_DISTANCE) {
      List<Quartet> list = new ArrayList<Quartet>();
      Quartet trio = new Quartet(targety, targety, minx, maxr, new HorizontalTopAlignAnchor(target));
View Full Code Here

Examples of org.dyno.visual.swing.widgets.grouplayout.anchor.HorizontalBaselineAnchor

    int targetb = targety + target.getHeight();
    int minx = Math.min(thisx, targetx) - ANCHOR_EXT;
    int maxr = Math.max(thisr, targetr) + ANCHOR_EXT;
    if (Math.abs(tb - sb) < THRESHOLD_DISTANCE) {
      List<Quartet> list = new ArrayList<Quartet>();
      Anchor a = new HorizontalBaselineAnchor(target);
      Quartet trio = new Quartet(tb, tb - dropBaseline.getBaseline() + dropAdapter.getHotspotPoint().y, minx, maxr, a);
      list.add(trio);
      return list;
    } else if (Math.abs(dy - targety) < THRESHOLD_DISTANCE) {
      List<Quartet> list = new ArrayList<Quartet>();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.