Class: Netzke::Core::Panel

Inherits:
Base
  • Object
show all
Defined in:
lib/netzke/core/panel.rb

Overview

A very simple panel with an automatically set title. Can be used as a child component klass.

Instance Attribute Summary

Attributes inherited from Base

#item_id, #name, #parent, #path

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from CoreI18n

#i18n_id

Methods included from Actions

#actions, #configure_client, #extend_item

Methods included from Embedding

#js_component_html, #js_component_instance, #js_component_render

Methods included from Stylesheets

#css_missing_code

Methods included from Plugins

#plugins

Methods included from Composition

#component_config, #component_instance, #dependency_classes, #eagerly_loaded_components, #extend_item

Methods included from Services

#component_missing, #has_endpoint?, #invoke_endpoint

Methods included from ClientCode

#configure_client, #js_alias, #js_components, #js_config, #js_endpoints, #js_id, #js_item_id, #js_missing_code, #js_netzke_plugins, #js_path, #js_xtype

Methods included from Configuration

#client_config, #config

Methods included from State

#persistence_key, #state

Methods included from Session

#component_session

Constructor Details

This class inherits a constructor from Netzke::Base

Instance Method Details

#configure(c) ⇒ Object



5
6
7
8
# File 'lib/netzke/core/panel.rb', line 5

def configure(c)
  c.title ||= name.to_s.humanize
  super
end