tool_panels
( tool_panels-1.13.jar)

tool_panels.dev_panel
Class DevPanel

java.lang.Object
  extended by fr.esrf.TangoApi.Connection
      extended by fr.esrf.TangoApi.DeviceProxy
          extended by tool_panels.dev_panel.DevPanel
All Implemented Interfaces:
fr.esrf.TangoApi.ApiDefs

public class DevPanel
extends fr.esrf.TangoApi.DeviceProxy

Class Description: This class is able to start a panel for specied devices. By default, it starts AtkPanel, but if a TangoPanel class property is define for the device, it will start it.
The panel must be defined in tangopanels.jar in a package fr.tango.tangopanels.classpanels.
Example :

Author:
verdier

Field Summary
 
Fields inherited from class fr.esrf.TangoApi.DeviceProxy
event_queue, proxy_lock_cnt
 
Fields inherited from class fr.esrf.TangoApi.Connection
access, check_access, classname, dev_src, device, device_2, device_3, device_4, devname, idl_version, ior, taco_device, transparent_reconnection, url
 
Fields inherited from interface fr.esrf.TangoApi.ApiDefs
ALL_ASYNCH, ATT_R, ATT_W, CALLBACK, CMD, D_TCP, D_UDP, FROM_ATTR, FROM_CMD, FROM_DBASE, FROM_IOR, LOGGING_DEBUG, LOGGING_ERROR, LOGGING_FATAL, LOGGING_INFO, LOGGING_OFF, LOGGING_WARN, MISC, NO_TIMEOUT, POLLING, protocol_name, PULL_CALLBACK, PUSH_CALLBACK, TACO, TANGO
 
Constructor Summary
DevPanel(java.lang.String devname)
           
 
Method Summary
 void buildTangoPanel(fr.esrf.TangoApi.DbClass _class, java.lang.String devname)
           
static javax.swing.JFrame buildTangoPanel(java.lang.String classname, java.lang.String devname)
          Create the specified Tango panel for specified device.
static void main(java.lang.String[] args)
           
 
Methods inherited from class fr.esrf.TangoApi.DeviceProxy
add_device, add_logging_target, add_logging_target, attribute_history, attribute_history, check_asynch_reply, command_history, command_history, command_inout_asynch, command_inout_asynch, command_inout_asynch, command_inout_asynch, command_inout_asynch, command_inout_asynch, command_inout_reply, command_inout_reply, command_query, delete_attribute_property, delete_attribute_property, delete_attribute_property, delete_attribute_property, delete_attribute, delete_device, delete_property, delete_property, delete_property, dev_inform, export_device, finalize, get_adm_dev, get_alias, get_asynch_idl_cmd, get_asynch_replies, get_asynch_replies, get_attribute_config, get_attribute_config, get_attribute_config, get_attribute_info_ex, get_attribute_info_ex, get_attribute_info_ex, get_attribute_info, get_attribute_info, get_attribute_info, get_attribute_list, get_attribute_polling_period, get_attribute_property, get_attribute_property, get_class_inheritance, get_class, get_command_polling_period, get_db_obj, get_event_queue_size, get_event_queue_size, get_events, get_events, get_evt_import_info, get_info, get_last_event_date, get_logging_level, get_logging_target, get_next_event, get_next_event, get_property_list, get_property, get_property, get_property, get_rpc_protocol, getAdm_dev, getAttnames_array, getDb_dev, getDeviceProxy, getEventQueue, getFull_class_name, getLockerInfo, getLockerStatus, import_admin_device, import_admin_device, import_device, isCheck_idl, isLocked, isLockedByMe, lock, lock, name, pending_asynch_call, poll_attribute, poll_command, polling_status, put_alias, put_attribute_property, put_attribute_property, put_property, put_property, read_attribute_asynch, read_attribute_asynch, read_attribute_asynch, read_attribute_asynch, read_attribute_reply, read_attribute_reply, read_attribute_value, read_attribute, read_attribute, remove_logging_target, set_attribute_config, set_attribute_info, set_attribute_info, set_evt_import_info, set_logging_level, set_rpc_protocol, setAdm_dev, setAttnames_array, setDb_dev, setDeviceProxy, setEventQueue, setFull_class_name, state, state, status, status, stop_poll_attribute, stop_poll_command, subscribe_event, subscribe_event, subscribe_event, unexport_device, unlock, unsubscribe_event, use_db, write_attribute_asynch, write_attribute_asynch, write_attribute_asynch, write_attribute_asynch, write_attribute_asynch, write_attribute_asynch, write_attribute_reply, write_attribute_reply, write_attribute, write_attribute, write_read_attribute, write_read_attribute
 
Methods inherited from class fr.esrf.TangoApi.Connection
adm_name, black_box, build_connection, checkIfTaco, checkIfTango, command_inout, command_inout, command_list_query, description, dev_import, equals, get_class_name, get_device, get_host_name, get_idl_version, get_ior, get_name, get_server_name, get_source, get_tango_host, get_timeout_millis, get_timeout, get_transparency_reconnection, getAccessControl, getDev_timeout, getIConnection, getObj, getPrev_failed_t0, getPrev_failed, info_3, info, is_taco, isAllowedCommand, isAlready_connected, isDevice_is_dbase, isPrev_failed, ping, set_source, set_timeout_millis, set_transparency_reconnection, setAccessControl, setAlready_connected, setDev_timeout, setDevice_is_dbase, setIConnection, setObj, setPrev_failed_t0, setPrev_failed, throw_dev_failed
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DevPanel

public DevPanel(java.lang.String devname)
         throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed
Method Detail

buildTangoPanel

public void buildTangoPanel(fr.esrf.TangoApi.DbClass _class,
                            java.lang.String devname)
                     throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed

buildTangoPanel

public static javax.swing.JFrame buildTangoPanel(java.lang.String classname,
                                                 java.lang.String devname)
                                          throws java.lang.ClassNotFoundException,
                                                 java.lang.NoSuchMethodException,
                                                 java.lang.InstantiationException,
                                                 java.lang.reflect.InvocationTargetException,
                                                 java.lang.IllegalAccessException
Create the specified Tango panel for specified device.

Parameters:
classname - Tango panel class name.
devname - Device name.
Returns:
the JFrame component for Tango panel.
Throws:
java.lang.ClassNotFoundException - If class does not exist
java.lang.NoSuchMethodException - If constructor not found
java.lang.InstantiationException - If instantiation failed.
java.lang.reflect.InvocationTargetException - ...
java.lang.IllegalAccessException - ...

main

public static void main(java.lang.String[] args)

tool_panels
( tool_panels-1.13.jar)