net.curre.prefcount.gui
Class GuiPackageHelper

java.lang.Object
  extended by net.curre.prefcount.gui.GuiPackageHelper

public class GuiPackageHelper
extends java.lang.Object

This class is a helper class to access protected and package protected properties and methods in the net.curre.prefcount.gui package.

Created date: Jul 16, 2007

Author:
Yevgeny Nyden

Constructor Summary
GuiPackageHelper()
           
 
Method Summary
static javax.swing.JButton getButton3(net.curre.prefcount.gui.MainWindow window)
          Helper method to get button3 from the given MainWindow object.
static javax.swing.JButton getButton4(net.curre.prefcount.gui.MainWindow window)
          Helper method to get button4 from the given MainWindow object.
static java.util.List<javax.swing.JTextField> getPlayerFields(net.curre.prefcount.gui.PlayersNamesPanel panel)
          Gets the list of references to the player names fields from the given PlayersNamesPanel object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiPackageHelper

public GuiPackageHelper()
Method Detail

getPlayerFields

public static java.util.List<javax.swing.JTextField> getPlayerFields(net.curre.prefcount.gui.PlayersNamesPanel panel)
Gets the list of references to the player names fields from the given PlayersNamesPanel object.

Parameters:
panel - PlayersNamesPanel object to use.
Returns:
The list of references to the player names fields.

getButton3

public static javax.swing.JButton getButton3(net.curre.prefcount.gui.MainWindow window)
Helper method to get button3 from the given MainWindow object.

Parameters:
window - MainWindow to use.
Returns:
MainWindow's button3.

getButton4

public static javax.swing.JButton getButton4(net.curre.prefcount.gui.MainWindow window)
Helper method to get button4 from the given MainWindow object.

Parameters:
window - MainWindow to use.
Returns:
MainWindow's button4.


Copyright © 2008. All Rights Reserved.