Package org.flexdock.docking.props
Class BasicDockablePropertySet
java.lang.Object
java.util.Dictionary
java.util.Hashtable
org.flexdock.util.TypedHashtable
org.flexdock.docking.props.BasicDockablePropertySet
- All Implemented Interfaces:
Serializable
,Cloneable
,Map
,DockingConstants
,DockablePropertySet
- Direct Known Subclasses:
RootDockablePropertySet
,ScopedDockablePropertySet
public class BasicDockablePropertySet
extends TypedHashtable
implements DockablePropertySet, DockingConstants
- Author:
- Christopher Butler
- See Also:
-
Field Summary
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
ConstructorsConstructorDescriptionBasicDockablePropertySet
(int initialCapacity, float loadFactor, Dockable dockable) BasicDockablePropertySet
(int initialCapacity, Dockable dockable) BasicDockablePropertySet
(Map t, Dockable dockable) BasicDockablePropertySet
(Dockable dockable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
firePropertyChange
(String property, boolean oldValue, boolean newValue) protected void
firePropertyChange
(String property, int oldValue, int newValue) protected void
firePropertyChange
(String property, Object oldValue, Object newValue) getRegionInset
(String region) static String
getRegionInsetKey
(String region) getSiblingSize
(String region) static String
getSiblingSizeKey
(String region) static String
getTerritoryBlockedKey
(String region) isActive()
isTerritoryBlocked
(String region) void
void
setActive
(boolean active) void
setDockableDesc
(String dockableDesc) void
setDockbarIcon
(Icon icon) void
setDockingEnabled
(boolean enabled) void
setDragTheshold
(float threshold) void
setMouseMotionListenersBlockedWhileDragging
(boolean blocked) void
setPreviewSize
(float previewSize) void
setRegionInset
(String region, float inset) void
setSiblingSize
(String region, float size) void
setTabIcon
(Icon icon) void
setTerritoryBlocked
(String region, boolean blocked) 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
-
Constructor Details
-
BasicDockablePropertySet
-
BasicDockablePropertySet
-
BasicDockablePropertySet
-
BasicDockablePropertySet
-
-
Method Details
-
getRegionInsetKey
-
getSiblingSizeKey
-
getTerritoryBlockedKey
-
getDockbarIcon
- Specified by:
getDockbarIcon
in interfaceDockablePropertySet
-
getTabIcon
- Specified by:
getTabIcon
in interfaceDockablePropertySet
-
getDockableDesc
- Specified by:
getDockableDesc
in interfaceDockablePropertySet
-
isDockingEnabled
- Specified by:
isDockingEnabled
in interfaceDockablePropertySet
-
isActive
- Specified by:
isActive
in interfaceDockablePropertySet
-
isMouseMotionListenersBlockedWhileDragging
- Specified by:
isMouseMotionListenersBlockedWhileDragging
in interfaceDockablePropertySet
-
getRegionInset
- Specified by:
getRegionInset
in interfaceDockablePropertySet
-
getSiblingSize
- Specified by:
getSiblingSize
in interfaceDockablePropertySet
-
isTerritoryBlocked
- Specified by:
isTerritoryBlocked
in interfaceDockablePropertySet
-
getDragThreshold
- Specified by:
getDragThreshold
in interfaceDockablePropertySet
-
getPreviewSize
- Specified by:
getPreviewSize
in interfaceDockablePropertySet
-
setDockbarIcon
- Specified by:
setDockbarIcon
in interfaceDockablePropertySet
-
setTabIcon
- Specified by:
setTabIcon
in interfaceDockablePropertySet
-
setDockableDesc
- Specified by:
setDockableDesc
in interfaceDockablePropertySet
-
setDockingEnabled
public void setDockingEnabled(boolean enabled) - Specified by:
setDockingEnabled
in interfaceDockablePropertySet
-
setActive
public void setActive(boolean active) - Specified by:
setActive
in interfaceDockablePropertySet
-
setMouseMotionListenersBlockedWhileDragging
public void setMouseMotionListenersBlockedWhileDragging(boolean blocked) - Specified by:
setMouseMotionListenersBlockedWhileDragging
in interfaceDockablePropertySet
-
setRegionInset
- Specified by:
setRegionInset
in interfaceDockablePropertySet
-
setSiblingSize
- Specified by:
setSiblingSize
in interfaceDockablePropertySet
-
setTerritoryBlocked
- Specified by:
setTerritoryBlocked
in interfaceDockablePropertySet
-
setDragTheshold
public void setDragTheshold(float threshold) - Specified by:
setDragTheshold
in interfaceDockablePropertySet
-
setPreviewSize
public void setPreviewSize(float previewSize) - Specified by:
setPreviewSize
in interfaceDockablePropertySet
-
getDockingId
- Specified by:
getDockingId
in interfaceDockablePropertySet
- Returns:
- Returns the dockingId.
-
addPropertyChangeListener
- Specified by:
addPropertyChangeListener
in interfaceDockablePropertySet
-
removePropertyChangeListener
- Specified by:
removePropertyChangeListener
in interfaceDockablePropertySet
-
firePropertyChange
-
firePropertyChange
-
firePropertyChange
-