public class UIUtil
extends java.lang.Object
| Constructor and Description |
|---|
UIUtil()
constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
formatDate(long timeStart) |
java.lang.String |
formatRatio(long timeStart) |
java.lang.String |
formatString(double val,
int places) |
java.awt.Color |
getAverageColor(java.awt.Color[] colorArray) |
int |
getDiameter(int number) |
protected void |
paintItem_buffer(int x,
int y,
java.awt.Graphics g,
java.lang.String shape)
convenience method for internal use.
|
protected void |
paintItem_buffer(int x,
int y,
java.awt.Graphics g,
java.lang.String shape,
int number)
convenience method for internal use.
|
void |
paintItem(int x,
int y,
java.awt.Graphics g,
java.lang.String shape)
convenience method for internal use.
|
void |
paintItemExt(int x,
int y,
java.awt.Graphics g,
java.lang.String shape)
convenience method for internal use.
|
void |
paintItemHigh(int x,
int y,
java.awt.Graphics g,
java.lang.String shape,
int number)
convenience method for internal use.
|
void |
paintItemHighExt(int x,
int y,
java.awt.Graphics g,
java.lang.String shape,
int number) |
int |
sizeBuffer(int number) |
public int sizeBuffer(int number)
public int getDiameter(int number)
public void paintItemHigh(int x,
int y,
java.awt.Graphics g,
java.lang.String shape,
int number)
x - horizontal anchor coordinate of the handley - vertical anchor coordinate of the handleg - the Graphics object used for paintingpublic void paintItemHighExt(int x,
int y,
java.awt.Graphics g,
java.lang.String shape,
int number)
public void paintItem(int x,
int y,
java.awt.Graphics g,
java.lang.String shape)
x - horizontal anchor coordinate of the handley - vertical anchor coordinate of the handleg - the Graphics object used for paintingpublic void paintItemExt(int x,
int y,
java.awt.Graphics g,
java.lang.String shape)
x - horizontal anchor coordinate of the handley - vertical anchor coordinate of the handleg - the Graphics object used for paintingprotected void paintItem_buffer(int x,
int y,
java.awt.Graphics g,
java.lang.String shape,
int number)
x - horizontal anchor coordinate of the handley - vertical anchor coordinate of the handleg - the Graphics object used for paintingprotected void paintItem_buffer(int x,
int y,
java.awt.Graphics g,
java.lang.String shape)
x - horizontal anchor coordinate of the handley - vertical anchor coordinate of the handleg - the Graphics object used for paintingpublic java.awt.Color getAverageColor(java.awt.Color[] colorArray)
public java.lang.String formatDate(long timeStart)
public java.lang.String formatRatio(long timeStart)
public java.lang.String formatString(double val,
int places)