ModernDocking icon indicating copy to clipboard operation
ModernDocking copied to clipboard

RootDockingPanelAPI Internal Methods

Open andrewauclair opened this issue 1 year ago • 1 comments

Most of the methods in RootDockingPanelAPI are intended to be internal to the framework. Some thought will have to be given to how these can be made internal. Most likely by moving them to a private class in a package not exported from the module.

User facing:

  • getWindow
  • setEmptyPanel
  • isPiningSupported (renaming to isAutoHideSupported)
  • setPinningSupported (renaming to setAutoHideSupported)
  • getPinningLayer (renaming to getAutoHideLayer)
  • setPinningLayer (renaming to setPinningLayer)

Internal:

  • setWindow
  • getPanel
  • isEmpty
  • setPanel
  • removeExistingPanel
  • dock
  • undock
  • replaceChild
  • removeChild
  • setDockableShown
  • setDockableHidden
  • hiddenPersistentIDs
  • hideHiddenPanels
  • getWestAutoHideToolbarIDs
  • getEastAutoHideToolbarIDs
  • getSouthAutoHideToolbarIDs
  • isLocationSupported
  • updateLAF

andrewauclair avatar Jan 01 '24 16:01 andrewauclair

One solution might be to wrap RootDockingPanel in an internal panel and move all the internal methods to that internal panel class.

andrewauclair avatar Jan 09 '24 23:01 andrewauclair