org.kemet.lf.components.dialog
Class Zoom

java.lang.Object
  extended by org.kemet.lf.components.dialog.Zoom

public class Zoom
extends java.lang.Object

Since:
0.5
Author:
fabricemaupin

Zoom : Zoom manager to show the complete content of a selected component.


Constructor Summary
Zoom(java.lang.String name, java.lang.String title, javax.swing.JPanel content)
           initialize the zoom manager.
 
Method Summary
 java.lang.String getName()
           return the name of content zoom.
 int getPosX()
           return the (X) coordinate of dialog.
 int getPosY()
           return the (Y) coordinate of dialog.
static boolean isAlreadyVisible(java.lang.String name)
           verify if a particular zoom is visible ?
 void setPosX(int posX)
           set the (X) coordinate of dialog.
 void setPosY(int posY)
           set the (Y) coordinate of dialog.
 void show()
           display zoom content.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Zoom

public Zoom(java.lang.String name,
            java.lang.String title,
            javax.swing.JPanel content)

initialize the zoom manager.

Parameters:
title - title of info dialog
content - content of dialog
Since:
0.5
Method Detail

show

public void show()

display zoom content.

Since:
0.5

isAlreadyVisible

public static boolean isAlreadyVisible(java.lang.String name)

verify if a particular zoom is visible ?

Parameters:
name - name of dialog
Returns:
true / false
Since:
0.5

getPosX

public int getPosX()

return the (X) coordinate of dialog.

Returns:
(X) coordinate of dialog
Since:
0.5

setPosX

public void setPosX(int posX)

set the (X) coordinate of dialog.

Parameters:
posX - (X) coordinate of dialog
Since:
0.5

getPosY

public int getPosY()

return the (Y) coordinate of dialog.

Returns:
(Y) coordinate of dialog
Since:
0.5

setPosY

public void setPosY(int posY)

set the (Y) coordinate of dialog.

Parameters:
posY - (Y) coordinate of dialog
Since:
0.5

getName

public java.lang.String getName()

return the name of content zoom.

Returns:
name of content zoom
Since:
0.5


Copyright © 2008 F. MAUPIN. All Rights Reserved.