Back to index

plone3  3.1.7
Public Member Functions
kss.core.plugins.core.demo.commandaction.commandaction.ActionsView Class Reference
Inheritance diagram for kss.core.plugins.core.demo.commandaction.commandaction.ActionsView:
Inheritance graph
[legend]
Collaboration diagram for kss.core.plugins.core.demo.commandaction.commandaction.ActionsView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def toggleClass
def addClass
def removeClass
def focus
def toCancel
def echo
def setKssAttribute

Detailed Description

Definition at line 3 of file commandaction.py.


Member Function Documentation

Definition at line 11 of file commandaction.py.

00011 
00012     def addClass(self):
00013         core = self.getCommandSet('core')
00014         selector = core.getSameNodeSelector()
00015         core.addClass(selector, 'selected')
00016         return self.render()

Definition at line 38 of file commandaction.py.

00038 
00039     def echo(self, value):
00040         core = self.getCommandSet('core')
00041         core.insertHTMLAsLastChild('#logger', value)
00042         return self.render()
    

Definition at line 25 of file commandaction.py.

00025 
00026     def focus(self, id):
00027         self.getCommandSet('core').focus('#' + id)
00028         return self.render()

Definition at line 17 of file commandaction.py.

00017 
00018     def removeClass(self):
00019         core = self.getCommandSet('core')
00020         selector = core.getSameNodeSelector()
00021         core.removeClass(selector, 'selected')
00022         return self.render()
    

Definition at line 43 of file commandaction.py.

00043 
00044     def setKssAttribute(self):
00045         core = self.getCommandSet('core')
00046         core.setKssAttribute('#command', 'name', 'value-from-command')
00047         return self.render()
00048 

Definition at line 31 of file commandaction.py.

00031 
00032     def toCancel(self):
00033         core = self.getCommandSet('core')
00034         core.insertHTMLAsLastChild('#logger', 'action')
00035         return self.render()

Definition at line 5 of file commandaction.py.

00005 
00006     def toggleClass(self):
00007         core = self.getCommandSet('core')
00008         selector = core.getSameNodeSelector()
00009         core.toggleClass(selector, 'selected')
00010         return self.render()


The documentation for this class was generated from the following file: