tico.imageGallery
Class TImageGalleryButton

java.lang.Object
  extended by tico.imageGallery.TImageGalleryButton

public class TImageGalleryButton
extends java.lang.Object

Implementation of the button that opens the image gallery

Version:
1.0 May 23, 2008
Author:
Patricia M. Jaray

Constructor Summary
TImageGalleryButton()
           
 
Method Summary
 TButton createImageGalleryButton(TEditor editor, TImageChooser chooser)
          Creates a TButton to open the image gallery into the specified TImageChooser of the TEditor
 java.lang.String getPath()
          Returns the path of the image selected from the image gallery
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TImageGalleryButton

public TImageGalleryButton()
Method Detail

createImageGalleryButton

public TButton createImageGalleryButton(TEditor editor,
                                        TImageChooser chooser)
Creates a TButton to open the image gallery into the specified TImageChooser of the TEditor

Parameters:
editor - The boards' editor
chooser - The TImageChooser where the TButton to open the image gallery is going to be displayed
Returns:
The generated TButton to open the image gallery

getPath

public java.lang.String getPath()
Returns the path of the image selected from the image gallery

Returns:
The path of the selected image from the image gallery