Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.eireneh.config.swing
Class SwingConfig.URLActionListener  view SwingConfig.URLActionListener download SwingConfig.URLActionListener.java

java.lang.Object
  extended bycom.eireneh.config.swing.SwingConfig.URLActionListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
SwingConfig

static class SwingConfig.URLActionListener
extends java.lang.Object
implements java.awt.event.ActionListener

A quick class to save a config to a url


Field Summary
private  com.eireneh.config.Config config
          The URL to save to if needed
private  java.lang.String host
          The hostname to save to if remote saveing is enabled
private  int port
          The port on the remote host
private  java.net.URL url
          The URL to save to if needed
 
Constructor Summary
SwingConfig.URLActionListener(com.eireneh.config.Config config, java.lang.String host, int port)
          To save to a remote computer
SwingConfig.URLActionListener(com.eireneh.config.Config config, java.net.URL url)
          To save to a URL
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ev)
          The save action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

private com.eireneh.config.Config config
The URL to save to if needed


url

private java.net.URL url
The URL to save to if needed


host

private java.lang.String host
The hostname to save to if remote saveing is enabled


port

private int port
The port on the remote host

Constructor Detail

SwingConfig.URLActionListener

public SwingConfig.URLActionListener(com.eireneh.config.Config config,
                                     java.net.URL url)
To save to a URL


SwingConfig.URLActionListener

public SwingConfig.URLActionListener(com.eireneh.config.Config config,
                                     java.lang.String host,
                                     int port)
To save to a remote computer

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)
The save action

Specified by:
actionPerformed in interface java.awt.event.ActionListener