Tabnine Logo
HorizontalAlignment
Code IndexAdd Tabnine to your IDE (free)

How to use
HorizontalAlignment
in
org.jfree.ui

Best Java code snippets using org.jfree.ui.HorizontalAlignment (Showing top 3 results out of 315)

origin: jfree/jcommon

/**
 * Ensures that serialization returns the unique instances.
 * 
 * @return The object.
 * 
 * @throws ObjectStreamException if there is a problem.
 */
private Object readResolve() throws ObjectStreamException {
  HorizontalAlignment result = null;
  if (this.equals(HorizontalAlignment.LEFT)) {
    result = HorizontalAlignment.LEFT;
  }
  else if (this.equals(HorizontalAlignment.RIGHT)) {
    result = HorizontalAlignment.RIGHT;
  }
  else if (this.equals(HorizontalAlignment.CENTER)) {
    result = HorizontalAlignment.CENTER;
  }
  return result;
}
 
origin: org.jfree/jcommon

/**
 * Ensures that serialization returns the unique instances.
 * 
 * @return The object.
 * 
 * @throws ObjectStreamException if there is a problem.
 */
private Object readResolve() throws ObjectStreamException {
  HorizontalAlignment result = null;
  if (this.equals(HorizontalAlignment.LEFT)) {
    result = HorizontalAlignment.LEFT;
  }
  else if (this.equals(HorizontalAlignment.RIGHT)) {
    result = HorizontalAlignment.RIGHT;
  }
  else if (this.equals(HorizontalAlignment.CENTER)) {
    result = HorizontalAlignment.CENTER;
  }
  return result;
}
 
origin: org.jfree/com.springsource.org.jfree

/**
 * Ensures that serialization returns the unique instances.
 * 
 * @return The object.
 * 
 * @throws ObjectStreamException if there is a problem.
 */
private Object readResolve() throws ObjectStreamException {
  HorizontalAlignment result = null;
  if (this.equals(HorizontalAlignment.LEFT)) {
    result = HorizontalAlignment.LEFT;
  }
  else if (this.equals(HorizontalAlignment.RIGHT)) {
    result = HorizontalAlignment.RIGHT;
  }
  else if (this.equals(HorizontalAlignment.CENTER)) {
    result = HorizontalAlignment.CENTER;
  }
  return result;
}
 
org.jfree.uiHorizontalAlignment

Javadoc

An enumeration of the horizontal alignment types (LEFT, RIGHT and CENTER).

Most used methods

  • equals
    Returns true if this object is equal to the specified object, and false otherwise.

Popular in Java

  • Making http post requests using okhttp
  • getResourceAsStream (ClassLoader)
  • notifyDataSetChanged (ArrayAdapter)
  • requestLocationUpdates (LocationManager)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Path (java.nio.file)
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 17 Plugins for Android Studio
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