Groovy Documentation

griffon.plugins.slideware
[Java] Class Slide

java.lang.Object
  java.awt.Component
      java.awt.Container
          javax.swing.JComponent
              javax.swing.JPanel
                  griffon.plugins.slideware.Slide
All Implemented Interfaces:
GroovyObject

public class Slide
extends JPanel

Authors:
Andres Almiray


Field Summary
private JPanel _content

private Closure backgroundPainter

private JComponent footer

private JComponent header

private String master

private MetaClass metaClass

private List slideActions

private Closure snapshot

private String title

private com.bric.image.transition.Transition2D transition

 
Fields inherited from class JPanel
WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT
 
Fields inherited from class JComponent
WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY, TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, WIDTH, HEIGHT, PROPERTIES, SOMEBITS, FRAMEBITS, ALLBITS, ERROR, ABORT
 
Constructor Summary
Slide()

 
Method Summary
Component add(Component component)

void add(Component component, Object constraints)

JComponent getFooter()

JComponent getHeader()

String getMaster()

MetaClass getMetaClass()

Object getProperty(String property)

List getSlideActions()

String getTitle()

com.bric.image.transition.Transition2D getTransition()

Object invokeMethod(String name, Object args)

void paintComponent(Graphics g)

void setBackgroundPainter(Closure backgroundPainter)

void setFooter(JComponent footer)

void setHeader(JComponent header)

void setLayout(LayoutManager layout)

void setMaster(String master)

void setMetaClass(MetaClass metaClass)

void setProperty(String property, Object newValue)

void setSlideActions(List actions)

void setSnapshot(Closure snapshot)

void setTitle(String title)

void setTransition(com.bric.image.transition.Transition2D transition)

Image[] takeSnapshot()

 
Methods inherited from class JPanel
getAccessibleContext, getUI, getUIClassID, setUI, updateUI, contains, getLocation, print, getSize, isOpaque, disable, enable, update, addNotify, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getInsets, getInsets, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, paint, removeNotify, requestFocus, requestFocus, setFocusTraversalKeys, setFont, getBaseline, getBaselineResizeBehavior, getBounds, getFontMetrics, getGraphics, getHeight, getWidth, getX, getY, isDoubleBuffered, printAll, repaint, repaint, requestFocusInWindow, reshape, setBackground, setEnabled, setForeground, setMaximumSize, setMinimumSize, setPreferredSize, setVisible, addAncestorListener, addVetoableChangeListener, computeVisibleRect, createToolTip, getActionForKeyStroke, getActionMap, getAncestorListeners, getAutoscrolls, getBorder, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, grabFocus, isLightweightComponent, isManagingFocus, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, requestDefaultFocus, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setInheritsPopupMenu, setInputMap, setInputVerifier, setNextFocusableComponent, setOpaque, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, add, add, add, add, add, remove, remove, list, list, removeAll, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponentZOrder, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, locate, minimumSize, paintComponents, preferredSize, printComponents, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, add, toString, getName, contains, size, getLocation, getParent, remove, setName, list, list, list, getSize, resize, resize, setSize, setSize, enable, location, isValid, action, dispatchEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getFocusCycleRootAncestor, getFont, getGraphicsConfiguration, getMousePosition, getPeer, getTreeLock, handleEvent, isDisplayable, isEnabled, isFocusOwner, isFocusable, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isVisible, postEvent, transferFocus, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, createImage, createImage, createVolatileImage, createVolatileImage, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getForeground, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getPropertyChangeListeners, getPropertyChangeListeners, getToolkit, gotFocus, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isFocusTraversable, isFontSet, isForegroundSet, keyDown, keyUp, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusTraversalKeysEnabled, setFocusable, setIgnoreRepaint, setLocale, setLocation, setLocation, show, show, transferFocusUpCycle, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class JComponent
contains, getLocation, print, getSize, isOpaque, disable, enable, update, addNotify, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getInsets, getInsets, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, paint, removeNotify, requestFocus, requestFocus, setFocusTraversalKeys, setFont, getBaseline, getBaselineResizeBehavior, getBounds, getFontMetrics, getGraphics, getHeight, getWidth, getX, getY, isDoubleBuffered, printAll, repaint, repaint, requestFocusInWindow, reshape, setBackground, setEnabled, setForeground, setMaximumSize, setMinimumSize, setPreferredSize, setVisible, addAncestorListener, getUIClassID, updateUI, addVetoableChangeListener, computeVisibleRect, createToolTip, getActionForKeyStroke, getActionMap, getAncestorListeners, getAutoscrolls, getBorder, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, grabFocus, isLightweightComponent, isManagingFocus, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintImmediately, paintImmediately, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, requestDefaultFocus, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setInheritsPopupMenu, setInputMap, setInputVerifier, setNextFocusableComponent, setOpaque, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, add, add, add, add, add, remove, remove, list, list, removeAll, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponentZOrder, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, locate, minimumSize, paintComponents, preferredSize, printComponents, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, add, toString, getName, contains, size, getLocation, getParent, remove, setName, list, list, list, getSize, resize, resize, setSize, setSize, enable, location, isValid, action, dispatchEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getFocusCycleRootAncestor, getFont, getGraphicsConfiguration, getMousePosition, getPeer, getTreeLock, handleEvent, isDisplayable, isEnabled, isFocusOwner, isFocusable, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isVisible, postEvent, transferFocus, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, createImage, createImage, createVolatileImage, createVolatileImage, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getForeground, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getPropertyChangeListeners, getPropertyChangeListeners, getToolkit, gotFocus, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isFocusTraversable, isFontSet, isForegroundSet, keyDown, keyUp, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusTraversalKeysEnabled, setFocusable, setIgnoreRepaint, setLocale, setLocation, setLocation, show, show, transferFocusUpCycle, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 

Field Detail

_content

private JPanel _content


backgroundPainter

private Closure backgroundPainter


footer

private JComponent footer


header

private JComponent header


master

private String master


metaClass

private MetaClass metaClass


slideActions

private List slideActions


snapshot

private Closure snapshot


title

private String title


transition

private com.bric.image.transition.Transition2D transition


 
Constructor Detail

Slide

public Slide()


 
Method Detail

add

public Component add(Component component)


add

public void add(Component component, Object constraints)


getFooter

public JComponent getFooter()


getHeader

public JComponent getHeader()


getMaster

public String getMaster()


getMetaClass

public MetaClass getMetaClass()


getProperty

public Object getProperty(String property)


getSlideActions

public List getSlideActions()


getTitle

public String getTitle()


getTransition

public com.bric.image.transition.Transition2D getTransition()


invokeMethod

public Object invokeMethod(String name, Object args)


paintComponent

public void paintComponent(Graphics g)


setBackgroundPainter

public void setBackgroundPainter(Closure backgroundPainter)


setFooter

public void setFooter(JComponent footer)


setHeader

public void setHeader(JComponent header)


setLayout

public void setLayout(LayoutManager layout)


setMaster

public void setMaster(String master)


setMetaClass

public void setMetaClass(MetaClass metaClass)


setProperty

public void setProperty(String property, Object newValue)


setSlideActions

public void setSlideActions(List actions)


setSnapshot

public void setSnapshot(Closure snapshot)


setTitle

public void setTitle(String title)


setTransition

public void setTransition(com.bric.image.transition.Transition2D transition)


takeSnapshot

public Image[] takeSnapshot()


 

Groovy Documentation