Package org.flexdock.docking.props
Class BasicDockingPortPropertySet
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable
-
- org.flexdock.util.TypedHashtable
-
- org.flexdock.docking.props.BasicDockingPortPropertySet
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map
,DockingConstants
,DockingPortPropertySet
- Direct Known Subclasses:
RootDockingPortPropertySet
,ScopedDockingPortPropertySet
public class BasicDockingPortPropertySet extends TypedHashtable implements DockingPortPropertySet, DockingConstants
- Author:
- Christopher Butler
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.flexdock.docking.DockingConstants
ACTIVE_WINDOW, BOTTOM, CENTER, CENTER_REGION, CLOSE_ACTION, DEFAULT_PERSISTENCE_KEY, DOCKING_ID, EAST_REGION, HEAVYWEIGHT_DOCKABLES, HORIZONTAL, LEFT, MOUSE_PRESSED, NORTH_REGION, PERMANENT_FOCUS_OWNER, PIN_ACTION, REGION, RIGHT, SOUTH_REGION, TOP, UNINITIALIZED, UNINITIALIZED_RATIO, UNKNOWN_REGION, UNSPECIFIED_SIBLING_PREF, VERTICAL, WEST_REGION
-
Fields inherited from interface org.flexdock.docking.props.DockingPortPropertySet
REGION_CHECKER, REGION_SIZE_EAST, REGION_SIZE_NORTH, REGION_SIZE_SOUTH, REGION_SIZE_WEST, SINGLE_TABS, TAB_PLACEMENT
-
-
Constructor Summary
Constructors Constructor Description BasicDockingPortPropertySet()
BasicDockingPortPropertySet(int initialCapacity)
BasicDockingPortPropertySet(int initialCapacity, float loadFactor)
BasicDockingPortPropertySet(java.util.Map t)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegionChecker
getRegionChecker()
java.lang.Float
getRegionInset(java.lang.String region)
static java.lang.String
getRegionInsetKey(java.lang.String region)
java.lang.Integer
getTabPlacement()
java.lang.Boolean
isSingleTabsAllowed()
void
setRegionChecker(RegionChecker checker)
void
setRegionInset(java.lang.String region, float inset)
void
setSingleTabsAllowed(boolean allowed)
void
setTabPlacement(int placement)
-
Methods inherited from class org.flexdock.util.TypedHashtable
get, get, get, get, get, get, get, get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getShort, getString, put, put, put, put, put, put, put, put, put
-
Methods inherited from class java.util.Hashtable
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keys, keySet, merge, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, size, toString, values
-
-
-
-
Constructor Detail
-
BasicDockingPortPropertySet
public BasicDockingPortPropertySet()
-
BasicDockingPortPropertySet
public BasicDockingPortPropertySet(int initialCapacity)
-
BasicDockingPortPropertySet
public BasicDockingPortPropertySet(int initialCapacity, float loadFactor)
-
BasicDockingPortPropertySet
public BasicDockingPortPropertySet(java.util.Map t)
-
-
Method Detail
-
getRegionInsetKey
public static java.lang.String getRegionInsetKey(java.lang.String region)
-
getRegionChecker
public RegionChecker getRegionChecker()
- Specified by:
getRegionChecker
in interfaceDockingPortPropertySet
-
isSingleTabsAllowed
public java.lang.Boolean isSingleTabsAllowed()
- Specified by:
isSingleTabsAllowed
in interfaceDockingPortPropertySet
-
getTabPlacement
public java.lang.Integer getTabPlacement()
- Specified by:
getTabPlacement
in interfaceDockingPortPropertySet
-
getRegionInset
public java.lang.Float getRegionInset(java.lang.String region)
- Specified by:
getRegionInset
in interfaceDockingPortPropertySet
-
setRegionChecker
public void setRegionChecker(RegionChecker checker)
- Specified by:
setRegionChecker
in interfaceDockingPortPropertySet
-
setSingleTabsAllowed
public void setSingleTabsAllowed(boolean allowed)
- Specified by:
setSingleTabsAllowed
in interfaceDockingPortPropertySet
-
setTabPlacement
public void setTabPlacement(int placement)
- Specified by:
setTabPlacement
in interfaceDockingPortPropertySet
-
setRegionInset
public void setRegionInset(java.lang.String region, float inset)
- Specified by:
setRegionInset
in interfaceDockingPortPropertySet
-
-