All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sourceforge.squirrel_sql.fw.gui.IToggleAction Maven / Gradle / Ivy

Go to download

The framework library contains utility classes that are generic and useful for building applications that introspect a database via JDBC. These are not intended to be SQuirreLSQL-specific and could be used by other projects JDBC front-end applications. This project is guaranteed to have no code dependencies on other SQuirreLSQL projects and could therefore be used when building a different JDBC front-end application.

There is a newer version: 3.5.0
Show newest version
package net.sourceforge.squirrel_sql.fw.gui;

import javax.swing.*;

public interface IToggleAction extends Action
{
   /**
    * The framework will call this getter and add toggleable components (JButton, JCheckedMenuItem, ... )
    * to the holder. All the implementing action needs to do is to keep a member of type ToggleComponentHolder
    * and return it here.
    *
    * Through ToggleComponentHolder.setSelected(boolean) the implementing action is able toggle selection
    * of the toggleable components kept inside the holder.
    */
   ToggleComponentHolder getToggleComponentHolder();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy