LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing.component
Interface LySplittableCanvas

All Known Implementing Classes:
LyJGanttScrollPane, LyJTreeComponent

public interface LySplittableCanvas

This interface defines an object than can be drawn in a canvas splitter.

See Also:
LyAbstractCanvasSplitterManager

Field Summary
static java.lang.String __VERSION
           
 
Method Summary
 void drawInSplitter(java.awt.Graphics gc, int xOffset, int yOffset)
          Draws the canvas in a graphics context.
 java.awt.event.KeyListener[] getKeyListeners()
          Gets all the key listeners.
 int getLeftHeaderWidth()
          Gets the left header width.
 java.awt.event.MouseListener[] getMouseListeners()
          Gets all the mouse listeners.
 java.awt.event.MouseMotionListener[] getMouseMotionListeners()
          Gets all the mouse motion listeners.
 java.awt.Dimension getScrollableSize()
          Gets the scrollable size, which is equals to the planning size.
 int getTopHeaderHeight()
          Gets the top header height.
 void setCanvasSplitter(LyAbstractCanvasSplitterManager splitter)
          Sets the canvas splitter.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
See Also:
Constant Field Values
Method Detail

drawInSplitter

void drawInSplitter(java.awt.Graphics gc,
                    int xOffset,
                    int yOffset)
Draws the canvas in a graphics context.

Parameters:
gc - the graphical context
xOffset - the horizontal offset for the splitter drawing
yOffset - the vertical offset for the splitter drawing

setCanvasSplitter

void setCanvasSplitter(LyAbstractCanvasSplitterManager splitter)
Sets the canvas splitter.

Parameters:
splitter - the splitter

getScrollableSize

java.awt.Dimension getScrollableSize()
Gets the scrollable size, which is equals to the planning size.

Returns:
the scrollable size

getTopHeaderHeight

int getTopHeaderHeight()
Gets the top header height. It is the default height of the header.

Returns:
the top header height

getLeftHeaderWidth

int getLeftHeaderWidth()
Gets the left header width. Its value is 0 by default.

Returns:
the left header width

getMouseMotionListeners

java.awt.event.MouseMotionListener[] getMouseMotionListeners()
Gets all the mouse motion listeners.

Returns:
the mouse motion listeners on all the splitted components

getMouseListeners

java.awt.event.MouseListener[] getMouseListeners()
Gets all the mouse listeners.

Returns:
the mouse listeners on all the splitted components

getKeyListeners

java.awt.event.KeyListener[] getKeyListeners()
Gets all the key listeners.

Returns:
the key listeners on all the splitted components

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com