Package org.flexdock.docking.props
Class ScopedDockablePropertySet
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable
-
- org.flexdock.util.TypedHashtable
-
- org.flexdock.docking.props.BasicDockablePropertySet
-
- org.flexdock.docking.props.ScopedDockablePropertySet
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map
,DockingConstants
,DockablePropertySet
,ScopedMap
- Direct Known Subclasses:
ViewProps
public class ScopedDockablePropertySet extends BasicDockablePropertySet implements ScopedMap
- Author:
- Christopher Butler
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.List
DEFAULTS
static java.util.List
GLOBALS
static RootDockablePropertySet
ROOT_PROPS
-
Fields inherited from interface org.flexdock.docking.props.DockablePropertySet
ACTIVE, DESCRIPTION, DOCKBAR_ICON, DOCKING_ENABLED, DRAG_THRESHOLD, MOUSE_MOTION_DRAG_BLOCK, PREVIEW_SIZE, REGION_SIZE_EAST, REGION_SIZE_NORTH, REGION_SIZE_SOUTH, REGION_SIZE_WEST, SIBLING_SIZE_EAST, SIBLING_SIZE_NORTH, SIBLING_SIZE_SOUTH, SIBLING_SIZE_WEST, TAB_ICON, TERRITORY_BLOCKED_CENTER, TERRITORY_BLOCKED_EAST, TERRITORY_BLOCKED_NORTH, TERRITORY_BLOCKED_SOUTH, TERRITORY_BLOCKED_WEST
-
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
-
-
Constructor Summary
Constructors Constructor Description ScopedDockablePropertySet(int initialCapacity, float loadFactor, Dockable dockable)
ScopedDockablePropertySet(int initialCapacity, Dockable dockable)
ScopedDockablePropertySet(java.util.Map t, Dockable dockable)
ScopedDockablePropertySet(Dockable dockable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List
getDefaults()
java.lang.String
getDockableDesc()
java.lang.Float
getDragThreshold()
java.util.List
getGlobals()
java.util.List
getLocals()
java.lang.Float
getPreviewSize()
java.lang.Float
getRegionInset(java.lang.String region)
java.util.Map
getRoot()
java.lang.Float
getSiblingSize(java.lang.String region)
java.lang.Boolean
isActive()
java.lang.Boolean
isDockingEnabled()
java.lang.Boolean
isMouseMotionListenersBlockedWhileDragging()
java.lang.Boolean
isTerritoryBlocked(java.lang.String region)
-
Methods inherited from class org.flexdock.docking.props.BasicDockablePropertySet
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getDockbarIcon, getDockingId, getRegionInsetKey, getSiblingSizeKey, getTabIcon, getTerritoryBlockedKey, removePropertyChangeListener, setActive, setDockableDesc, setDockbarIcon, setDockingEnabled, setDragTheshold, setMouseMotionListenersBlockedWhileDragging, setPreviewSize, setRegionInset, setSiblingSize, setTabIcon, setTerritoryBlocked
-
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
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.flexdock.docking.props.DockablePropertySet
put, remove
-
-
-
-
Field Detail
-
ROOT_PROPS
public static final RootDockablePropertySet ROOT_PROPS
-
DEFAULTS
public static final java.util.List DEFAULTS
-
GLOBALS
public static final java.util.List GLOBALS
-
-
Constructor Detail
-
ScopedDockablePropertySet
public ScopedDockablePropertySet(Dockable dockable)
-
ScopedDockablePropertySet
public ScopedDockablePropertySet(int initialCapacity, Dockable dockable)
-
ScopedDockablePropertySet
public ScopedDockablePropertySet(int initialCapacity, float loadFactor, Dockable dockable)
-
ScopedDockablePropertySet
public ScopedDockablePropertySet(java.util.Map t, Dockable dockable)
-
-
Method Detail
-
getDefaults
public java.util.List getDefaults()
- Specified by:
getDefaults
in interfaceScopedMap
-
getGlobals
public java.util.List getGlobals()
- Specified by:
getGlobals
in interfaceScopedMap
-
getDockableDesc
public java.lang.String getDockableDesc()
- Specified by:
getDockableDesc
in interfaceDockablePropertySet
- Overrides:
getDockableDesc
in classBasicDockablePropertySet
-
isDockingEnabled
public java.lang.Boolean isDockingEnabled()
- Specified by:
isDockingEnabled
in interfaceDockablePropertySet
- Overrides:
isDockingEnabled
in classBasicDockablePropertySet
-
isActive
public java.lang.Boolean isActive()
- Specified by:
isActive
in interfaceDockablePropertySet
- Overrides:
isActive
in classBasicDockablePropertySet
-
isMouseMotionListenersBlockedWhileDragging
public java.lang.Boolean isMouseMotionListenersBlockedWhileDragging()
- Specified by:
isMouseMotionListenersBlockedWhileDragging
in interfaceDockablePropertySet
- Overrides:
isMouseMotionListenersBlockedWhileDragging
in classBasicDockablePropertySet
-
getRegionInset
public java.lang.Float getRegionInset(java.lang.String region)
- Specified by:
getRegionInset
in interfaceDockablePropertySet
- Overrides:
getRegionInset
in classBasicDockablePropertySet
-
getSiblingSize
public java.lang.Float getSiblingSize(java.lang.String region)
- Specified by:
getSiblingSize
in interfaceDockablePropertySet
- Overrides:
getSiblingSize
in classBasicDockablePropertySet
-
isTerritoryBlocked
public java.lang.Boolean isTerritoryBlocked(java.lang.String region)
- Specified by:
isTerritoryBlocked
in interfaceDockablePropertySet
- Overrides:
isTerritoryBlocked
in classBasicDockablePropertySet
-
getDragThreshold
public java.lang.Float getDragThreshold()
- Specified by:
getDragThreshold
in interfaceDockablePropertySet
- Overrides:
getDragThreshold
in classBasicDockablePropertySet
-
getPreviewSize
public java.lang.Float getPreviewSize()
- Specified by:
getPreviewSize
in interfaceDockablePropertySet
- Overrides:
getPreviewSize
in classBasicDockablePropertySet
-
-