Examples of Dockable

@author Lilian Chamontin, vlsolutions. @version 1.0
  • org.flexdock.docking.Dockable
    This interface is designed to specify the API's required by {@code DockingManager} and {@code DockingPort} for dealing with dockablecomponents in a drag-n-drop fashion. A {@code Dockable} is the childcomponent that is docked into a {@code DockingPort}. @author Christopher Butler
  • org.noos.xing.mydoggy.Dockable
    This interface represents the super interface for of all dockable object, i.e. ToolWindow, ToolWindowTab and Content. @author Angelo De Caro (angelo.decaro@gmail.com) @see ToolWindow @see ToolWindowTab @see Content @since 1.4.0

  • Examples of bibliothek.gui.Dockable

         * @return the preferred location of the new child
         */
        public CLocation getDropLocation( CStation<?> station ){
          Dockable[] history = control.getOwner().getController().getFocusHistory().getHistory();
          for( int i = history.length-1; i >= 0; i-- ){
            Dockable next = history[i];
            if( next instanceof CommonDockable && next.asDockStation() != station.getStation() ){
              CDockable cnext = ((CommonDockable)next).getDockable();
             
              if( DockUtilities.isAncestor( station.getStation(), next )){
                boolean valid;
                if( station.isWorkingArea() ){
    View Full Code Here

    Examples of bibliothek.gui.Dockable

        while( parent != null ){
          CLocationMode mode = getRepresentingMode( parent );
          if( mode != null ){
            return mode.getExtendedMode();
          }
          Dockable dockable = parent.asDockable();
          if( dockable == null )
            return null;
          parent = dockable.getDockParent();
        }
       
        return null;
      }
    View Full Code Here

    Examples of bibliothek.gui.Dockable

                CStation<?> station = stations.get( dockable.asDockStation() );
                if( station != null )
                    return station;
            }
           
            Dockable check = dockable;
            while( check != null ){
                DockStation parent = check.getDockParent();
                if( parent == null )
                    check = null;
                else
                    check = parent.asDockable();
               
    View Full Code Here

    Examples of bibliothek.gui.Dockable

            if( container != null ){
              return container;
            }
          }
         
          Dockable dockable = station.asDockable();
          if( dockable == null ){
            return null;
          }
          station = dockable.getDockParent();
          if( station == null ){
            return null;
          }     
        }
       
    View Full Code Here

    Examples of bibliothek.gui.Dockable

      }
     
      @Override
      public void setFocusedDockable( FocusRequest request ){
        if( request.getSource() != null ){
          Dockable focusedDockable = request.getSource().getElement().asDockable();
          CLocationModeManager states = owner.getLocationManager();
          if( states != null && !states.isOnTransaction() && focusedDockable != null ){
            states.ensureNotHidden( focusedDockable );
          }
        }
    View Full Code Here

    Examples of bibliothek.gui.Dockable

          DockStation parent = intern().getDockParent();
          while( parent != null ){
            if( parent instanceof CommonDockStation<?,?> ){
              return ((CommonDockStation<?, ?>)parent).getStation();
            }
            Dockable item = parent.asDockable();
            if( item == null ){
              return null;
            }
            parent = item.getDockParent();
          }
          return null;
        }
    View Full Code Here

    Examples of bibliothek.gui.Dockable

                if( result != null ){
                  return getMaximizeArea( result.getStation() );
                }
              }
            }
            Dockable temp = parent.asDockable();
            if( temp == null ){
              parent = null;
            }
            else{
              parent = temp.getDockParent();
            }
          }
        }
        return area;
      }
    View Full Code Here

    Examples of bibliothek.gui.Dockable

            // cannot move around a dockable without location
            return dockable;
          }
         
          for( int i = 0, n = parent.getDockableCount(); i<n; i++ ){
            Dockable check = parent.getDockable( i );
            if( check != dockable ){
              if( !manager.isModeAvailable( check, mode ) ){
                return dockable;
              }
            }
    View Full Code Here

    Examples of bibliothek.gui.Dockable

       
        return old;
      }
     
      public boolean shouldForwardActions( LocationModeManager<? extends LocationMode> manager, DockStation station, Dockable dockable, ExtendedMode mode ){
        Dockable dockStation = station.asDockable();
        if( dockStation != null && !manager.isModeAvailable( dockStation, mode )){
          return false;
        }
       
        for( int i = 0, n = station.getDockableCount(); i<n; i++ ){
          Dockable child = station.getDockable( i );
          if( !manager.isModeAvailable( child, mode ) ){
            return false;
          }
        }
        return true;
    View Full Code Here

    Examples of bibliothek.gui.Dockable

                    new String[]{ DockFont.ID_FLAP_BUTTON_ACTIVE, DockFont.ID_FLAP_BUTTON_INACTIVE });
        }
       
        @Override
        protected CDockable getDockable( DockFont observer ) {
            Dockable dockable = ((TitleFont)observer).getTitle().getDockable();
            if( dockable instanceof CommonDockable ){
                return ((CommonDockable)dockable).getDockable();
            }
            return null;
        }
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.