congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
Thumbnail.getHeight
Code IndexAdd Tabnine to your IDE (free)

How to use
getHeight
method
in
com.atlassian.core.util.thumbnail.Thumbnail

Best Java code snippets using com.atlassian.core.util.thumbnail.Thumbnail.getHeight (Showing top 5 results out of 315)

origin: com.atlassian.jira/jira-core

@Override
public int getHeight()
{
  return thumbnail.getHeight();
}
origin: com.atlassian.streams/streams-confluence-plugin

public Preview(Attachment attachment, Thumbnail thumbnail)
{
  this.downloadPath = attachment.getDownloadPath();
  this.height = thumbnail.getHeight();
  this.width = thumbnail.getWidth();
}
origin: com.atlassian.core/atlassian-core-thumbnail

  /**
   * Returns a string representing the internal values of this <code>Thumbnail</code> object. This string contains the
   * MIME Media type, width and height of this <code>Thumbnail</code> object.
   *
   * @return a string representation of this <code>Thumbnail</code> object
   */
  @Override
  public String toString() {
    return getClass().getName() + " [MimeType=" + mimeType + ",width=" + getWidth() + ",height=" + getHeight() + ",filename=" + getFilename() + ",attachmentId=" + getAttachmentId() + "]";
  }
}
origin: com.atlassian.jira/jira-core

return new Thumbnail(thumbnail.getHeight(), thumbnail.getWidth(), thumbnailFile.getName(), attachment.getId(),
    thumbnail.getMimeType());
origin: com.atlassian.streams/streams-jira-plugin

  public ThumbnailItem apply(Thumbnail thumbnail)
  {
    if (thumbnail.getFilename() == null)
    {
      return brokenThumbnailItem(attachment, baseUri);
    }
    return new ThumbnailItem(
        uriProvider.getThumbnailUri(baseUri, thumbnail),
        uriProvider.getAttachmentUri(baseUri, attachment),
        scaleToThumbnailSize(thumbnail.getWidth(), thumbnail.getHeight()));
  }
};
com.atlassian.core.util.thumbnailThumbnailgetHeight

Popular methods of Thumbnail

  • getWidth
  • <init>
    Creates an instance of Thumbnail with the provided arguments.
  • getAttachmentId
    the id of the attachment for which this is a thumbnail of
  • getFilename
    Get the filename of the file this thumbnail represents.
  • equals
    Checks whether two Thumbnail objects have equal values.
  • getMimeType
    Return the MIME Media type for thumbnail.
  • hashCode
    Returns the hash code for this Thumbnail.

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • JComboBox (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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