Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.virtuosotechnologies.asaph.standardgui
Class BodyEditorSize  view BodyEditorSize download BodyEditorSize.java

java.lang.Object
  extended bycom.virtuosotechnologies.asaph.standardgui.BodyEditorSize

class BodyEditorSize
extends java.lang.Object

A simple object that contains the size and position of an subeditor in the song body editor


Field Summary
private  float bottom_
           
private  float left_
           
private  float right_
           
 
Constructor Summary
(package private) BodyEditorSize()
          Constructor
(package private) BodyEditorSize(BodyEditorSize orig)
          Copy constructor
(package private) BodyEditorSize(float left, float right, float bottom)
          Constructor
 
Method Summary
(package private)  BodyEditorSize addSize(float left, float right, float bottom)
          "Adds" a size to this one.
 boolean equals(java.lang.Object obj)
          Checks whether two dimension objects have equal values.
(package private)  float getBottom()
          Returns the bottom position (height).
(package private)  float getLeft()
          Returns the left position.
(package private)  float getRight()
          Returns the right position.
 int hashCode()
          Returns the hash code for this FloatDimension.
 java.lang.String toString()
          Returns a string representation of the values of this FloatDimension object's height and width fields.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

left_

private float left_

right_

private float right_

bottom_

private float bottom_
Constructor Detail

BodyEditorSize

BodyEditorSize()
Constructor


BodyEditorSize

BodyEditorSize(float left,
               float right,
               float bottom)
Constructor


BodyEditorSize

BodyEditorSize(BodyEditorSize orig)
Copy constructor

Method Detail

addSize

BodyEditorSize addSize(float left,
                       float right,
                       float bottom)
"Adds" a size to this one. The returned size consists of the max of left/right sizes, and with the bottom size added.


getLeft

float getLeft()
Returns the left position.


getRight

float getRight()
Returns the right position.


getBottom

float getBottom()
Returns the bottom position (height).


equals

public boolean equals(java.lang.Object obj)
Checks whether two dimension objects have equal values.


hashCode

public int hashCode()
Returns the hash code for this FloatDimension.


toString

public java.lang.String toString()
Returns a string representation of the values of this FloatDimension object's height and width fields. This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations. The returned string may be empty but may not be null.