/** * Returns a scene location of a related widget of an opposite anchor. * @param entry the entry to which the opposite anchor searched * @return the scene location */ public Point getOppositeSceneLocation (Entry entry) { Anchor oppositeAnchor = entry.getOppositeAnchor (); return oppositeAnchor != null ? oppositeAnchor.getRelatedSceneLocation () : null; }
/** * Returns a scene location of a related widget of an opposite anchor. * @param entry the entry to which the opposite anchor searched * @return the scene location */ public Point getOppositeSceneLocation (Entry entry) { Anchor oppositeAnchor = entry.getOppositeAnchor (); return oppositeAnchor != null ? oppositeAnchor.getRelatedSceneLocation () : null; }