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.ListDEFAULTSstatic java.util.ListGLOBALSstatic RootDockablePropertySetROOT_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.ListgetDefaults()java.lang.StringgetDockableDesc()java.lang.FloatgetDragThreshold()java.util.ListgetGlobals()java.util.ListgetLocals()java.lang.FloatgetPreviewSize()java.lang.FloatgetRegionInset(java.lang.String region)java.util.MapgetRoot()java.lang.FloatgetSiblingSize(java.lang.String region)java.lang.BooleanisActive()java.lang.BooleanisDockingEnabled()java.lang.BooleanisMouseMotionListenersBlockedWhileDragging()java.lang.BooleanisTerritoryBlocked(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:
getDefaultsin interfaceScopedMap
-
getGlobals
public java.util.List getGlobals()
- Specified by:
getGlobalsin interfaceScopedMap
-
getDockableDesc
public java.lang.String getDockableDesc()
- Specified by:
getDockableDescin interfaceDockablePropertySet- Overrides:
getDockableDescin classBasicDockablePropertySet
-
isDockingEnabled
public java.lang.Boolean isDockingEnabled()
- Specified by:
isDockingEnabledin interfaceDockablePropertySet- Overrides:
isDockingEnabledin classBasicDockablePropertySet
-
isActive
public java.lang.Boolean isActive()
- Specified by:
isActivein interfaceDockablePropertySet- Overrides:
isActivein classBasicDockablePropertySet
-
isMouseMotionListenersBlockedWhileDragging
public java.lang.Boolean isMouseMotionListenersBlockedWhileDragging()
- Specified by:
isMouseMotionListenersBlockedWhileDraggingin interfaceDockablePropertySet- Overrides:
isMouseMotionListenersBlockedWhileDraggingin classBasicDockablePropertySet
-
getRegionInset
public java.lang.Float getRegionInset(java.lang.String region)
- Specified by:
getRegionInsetin interfaceDockablePropertySet- Overrides:
getRegionInsetin classBasicDockablePropertySet
-
getSiblingSize
public java.lang.Float getSiblingSize(java.lang.String region)
- Specified by:
getSiblingSizein interfaceDockablePropertySet- Overrides:
getSiblingSizein classBasicDockablePropertySet
-
isTerritoryBlocked
public java.lang.Boolean isTerritoryBlocked(java.lang.String region)
- Specified by:
isTerritoryBlockedin interfaceDockablePropertySet- Overrides:
isTerritoryBlockedin classBasicDockablePropertySet
-
getDragThreshold
public java.lang.Float getDragThreshold()
- Specified by:
getDragThresholdin interfaceDockablePropertySet- Overrides:
getDragThresholdin classBasicDockablePropertySet
-
getPreviewSize
public java.lang.Float getPreviewSize()
- Specified by:
getPreviewSizein interfaceDockablePropertySet- Overrides:
getPreviewSizein classBasicDockablePropertySet
-
-