MetaDone
metadone.client.grasyla2.swing.JSplitEngine Class Reference
Inheritance diagram for metadone.client.grasyla2.swing.JSplitEngine:
Collaboration diagram for metadone.client.grasyla2.swing.JSplitEngine:

List of all members.

Public Member Functions

 JSplitEngine (GrasylaContext context, ConcreteObject expression, Engine parent) throws BadPreCondition

Protected Member Functions

JComponent createEmptyComponent ()
Component<?extends JComponent > evaluateComponent (BootstrapGrasyla grasyla) throws BadPreCondition

Private Member Functions

void setComponent (Component<?extends JComponent > comp, boolean first) throws BadPreCondition
JSplitPane getSplit () throws IrreductibleException

Detailed Description

Builds a split pane.

Attributes
  • first: JComponent the first component
  • second: JComponent the second component
  • position: Number indicating the preferred position of the divider, it should be a floating value between 0 and 1 (both exclusive)
  • divider_size: Number indicating the size of the divider
  • AttributeOrientation

Contents

none

Result
A JSplitEngine.
Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.swing.JSplitEngine.JSplitEngine ( GrasylaContext  context,
ConcreteObject  expression,
Engine  parent 
) throws BadPreCondition

Initializes this engine.

Parameters:
contextThe context
expressionThe expression
parentThe parent or null
Exceptions:
BadPreCondition

References metadone.client.grasyla2.swing.JSplitEngine.setComponent().


Member Function Documentation

JComponent metadone.client.grasyla2.swing.JSplitEngine.createEmptyComponent ( ) [protected]

Creates an empty component.

Used when one of the side components is empty.

Returns:
An empty component
Component<? extends JComponent> metadone.client.grasyla2.swing.JSplitEngine.evaluateComponent ( BootstrapGrasyla  grasyla) throws BadPreCondition [protected]
JSplitPane metadone.client.grasyla2.swing.JSplitEngine.getSplit ( ) throws IrreductibleException [private]
void metadone.client.grasyla2.swing.JSplitEngine.setComponent ( Component<?extends JComponent >  comp,
boolean  first 
) throws BadPreCondition [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations