info.joseluismartin.db
Class DbConnectionForm

java.lang.Object
  extended by info.joseluismartin.gui.AbstractView<DbConnection>
      extended by info.joseluismartin.db.DbConnectionForm
All Implemented Interfaces:
BinderHolder, ControlChangeListener, Binder<DbConnection>, ModelHolder<DbConnection>, View<DbConnection>, ActionListener, EventListener

public class DbConnectionForm
extends AbstractView<DbConnection>
implements ActionListener

Database Connection Form

Author:
Jose Luis Martin - (jlm@joseluismartin.info)

Field Summary
 
Fields inherited from class info.joseluismartin.gui.AbstractView
DEFAULT_BINDER_FACTORY_NAME, errors, height, messageSource, width
 
Constructor Summary
DbConnectionForm()
           
DbConnectionForm(DbConnection dbConnection)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          
protected  JComponent buildPanel()
          Build the JComponent that hold controls.
 void doRefresh()
          Allow subclasses to do custom refresh
 void init()
          Init method, called by container after property sets.
static void main(String[] args)
          Test Method
 
Methods inherited from class info.joseluismartin.gui.AbstractView
addControlChangeListener, addView, afterRefresh, afterUpdate, autobind, bind, bind, clear, controlChange, doUpdate, enableView, fireControlChange, getBinder, getBinderFactory, getBindingResult, getControlAccessorFactory, getControlInitializer, getErrorMessage, getErrorProcessors, getHeight, getIgnoredProperties, getMessage, getMessage, getMessageSource, getModel, getName, getPanel, getValidator, getWidth, ignoreProperties, ignoreProperty, isAutobinding, isDirty, isInitializeControls, listen, onSetModel, refresh, removeControlChangeListener, setAutobinding, setBinderFactory, setControlAccessorFactory, setControlInitializer, setDirty, setErrorProcessors, setHeight, setIgnoredProperties, setInitializeControls, setMessageSource, setModel, setName, setValidator, setWidth, update, validateView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbConnectionForm

public DbConnectionForm()

DbConnectionForm

public DbConnectionForm(DbConnection dbConnection)
Parameters:
dbConnection -
Method Detail

init

public void init()
Init method, called by container after property sets.


buildPanel

protected JComponent buildPanel()
Build the JComponent that hold controls.

Specified by:
buildPanel in class AbstractView<DbConnection>
Returns:
a JCompoent

actionPerformed

public void actionPerformed(ActionEvent e)

Specified by:
actionPerformed in interface ActionListener

doRefresh

public void doRefresh()
Description copied from class: AbstractView
Allow subclasses to do custom refresh

Overrides:
doRefresh in class AbstractView<DbConnection>

main

public static void main(String[] args)
Test Method

Parameters:
args - none


Copyright © 2013 JDAL. All Rights Reserved.