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

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • JButton (javax.swing)
  • JPanel (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top Sublime Text 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