Tabnine Logo
ScreenDockProperty.getHeight
Code IndexAdd Tabnine to your IDE (free)

How to use
getHeight
method
in
bibliothek.gui.dock.station.screen.ScreenDockProperty

Best Java code snippets using bibliothek.gui.dock.station.screen.ScreenDockProperty.getHeight (Showing top 7 results out of 315)

origin: xyz.cofe/docking-frames-core

public void move( Dockable dockable, DockableProperty property ) {
  DockUtilities.checkLayoutLocked();
  if( property instanceof ScreenDockProperty ){
    ScreenDockWindow window = getWindow( dockable );
    if( window == null )
      throw new IllegalArgumentException( "dockable not child of this station" );
    
    ScreenDockProperty bounds = (ScreenDockProperty)property;
    
    window.setWindowBounds( new Rectangle( bounds.getX(), bounds.getY(), bounds.getWidth(), bounds.getHeight() ) );
  }
}
origin: xyz.cofe/docking-frames-common

/**
 * Creates a new location by creating the child location of <code>location</code> using
 * <code>property</code> for that step.
 * @param location the location to expand
 * @param property the property that is the source of the next location
 * @return the new location or <code>null</code> if no conversion is possible
 */
protected CLocation expand( CLocation location, ScreenDockProperty property ){
  if( property.isFullscreen() ){
    return new CMaximalExternalizedLocation( location, property.getX(), property.getY(), property.getWidth(), property.getHeight() );
  }
  else{
    return new CExternalizedLocation( location, property.getX(), property.getY(), property.getWidth(), property.getHeight() );
  }
}

origin: org.opentcs.thirdparty.dockingframes/docking-frames-common

/**
 * Creates a new location by creating the child location of <code>location</code> using
 * <code>property</code> for that step.
 * @param location the location to expand
 * @param property the property that is the source of the next location
 * @return the new location or <code>null</code> if no conversion is possible
 */
protected CLocation expand( CLocation location, ScreenDockProperty property ){
  if( property.isFullscreen() ){
    return new CMaximalExternalizedLocation( location, property.getX(), property.getY(), property.getWidth(), property.getHeight() );
  }
  else{
    return new CExternalizedLocation( location, property.getX(), property.getY(), property.getWidth(), property.getHeight() );
  }
}

origin: xyz.cofe/docking-frames-common

private CLocation expand( DockableProperty property ){
  if( property instanceof ScreenDockProperty ){
    ScreenDockProperty screen = (ScreenDockProperty)property;
    
    CLocation result;
    if( screen.isFullscreen() ){
      result = new CMaximalExternalizedLocation( screen.getX(), screen.getY(), screen.getWidth(), screen.getHeight() );
    }
    else{
      result = new CExternalizedLocation( screen.getX(), screen.getY(), screen.getWidth(), screen.getHeight() );
    }
    
    if( property.getSuccessor() != null ){
      return result.expandProperty( station.getStation().getController(), property.getSuccessor() );
    }
    else{
      return result;
    }
  }
  return null;
}

origin: org.opentcs.thirdparty.dockingframes/docking-frames-common

private CLocation expand( DockableProperty property ){
  if( property instanceof ScreenDockProperty ){
    ScreenDockProperty screen = (ScreenDockProperty)property;
    
    CLocation result;
    if( screen.isFullscreen() ){
      result = new CMaximalExternalizedLocation( screen.getX(), screen.getY(), screen.getWidth(), screen.getHeight() );
    }
    else{
      result = new CExternalizedLocation( screen.getX(), screen.getY(), screen.getWidth(), screen.getHeight() );
    }
    
    if( property.getSuccessor() != null ){
      return result.expandProperty( station.getStation().getController(), property.getSuccessor() );
    }
    else{
      return result;
    }
  }
  return null;
}
 
origin: xyz.cofe/docking-frames-core

int y = property.getY();
int width = property.getWidth();
int height = property.getHeight();
origin: xyz.cofe/docking-frames-core

boolean accept = accept( dockable ) && dockable.accept( this ) && (acceptance == null || acceptance.accept( this, dockable ));
if( accept ){
  addDockable( dockable, new Rectangle( property.getX(), property.getY(), property.getWidth(), property.getHeight() ), property.getPlaceholder(), args.isBoundsIncludeWindow() );
  done = true;
bibliothek.gui.dock.station.screenScreenDockPropertygetHeight

Javadoc

Gets the height of the dialog.

Popular methods of ScreenDockProperty

  • <init>
    Constructs a new property
  • getWidth
    Gets the width of the dialog.
  • getX
    Gets the x-coordinate of the dialog.
  • getY
    Gets the y-coordinate of the dialog
  • isFullscreen
    Tells whether this location describes an element that is in fullscreen mode.
  • setSuccessor
  • getSuccessor
  • setFullscreen
    Sets the fullscreen mode
  • copy
  • getPlaceholder
    Gets the name of this location.
  • setPlaceholder
    Sets the name of this location.
  • setPlaceholder

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • setScale (BigDecimal)
  • getApplicationContext (Context)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JOptionPane (javax.swing)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now