public class FXConnection.FXChopBoxHelper.ReferencePointMap extends java.util.HashMap<AnchorKey,Point>
FXConnection.FXChopBoxHelper.ReferencePointMap
is used to store the reference points
for the individual AnchorKey
s. A reference point is computed
whenever it is requested (i.e. get(Object)
is called).
Currently, the computation is only performed if no reference point is
available (i.e. on the anchor attachment). In order to query a
currently set reference point, you can use getRaw(Object)
,
which will never trigger a reference point computation, but instead
simply look it up in the map.Constructor and Description |
---|
ReferencePointMap() |
Modifier and Type | Method and Description |
---|---|
Point |
get(java.lang.Object key) |
Point |
getRaw(java.lang.Object key)
Does not compute a value for the given key but returns the
currently stored value instead.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public Point get(java.lang.Object key)
public Point getRaw(java.lang.Object key)
key
- The key for which to look up the value.Copyright (c) 2014 itemis AG and others. All rights reserved.