IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.rcp.perspective.core.impl
Class Layoutable

java.lang.Object
  extended by com.ibm.btt.rcp.perspective.core.impl.Registerable
      extended by com.ibm.btt.rcp.perspective.core.impl.Layoutable
All Implemented Interfaces:
ILayoutable, IRegisterable
Direct Known Subclasses:
Folder, View

public abstract class Layoutable
extends Registerable
implements ILayoutable

Base class for which component can be layouted to eclipse perspective


Field Summary
protected  float ratio
           
protected  java.lang.String refId
           
protected  int relationship
           
 
Fields inherited from class com.ibm.btt.rcp.perspective.core.impl.Registerable
id, isHolder
 
Constructor Summary
Layoutable()
           
 
Method Summary
 float getRatio()
          Get ratio of this component
 java.lang.String getRefId()
          Get referred component id
 int getRelationship()
          Get relationship to referred component.
 void setRatio(float ratio)
          Set ratio for this component
 void setRefId(java.lang.String refid)
          Set referred component id for this component
 void setRelationship(int relationship)
          Set relationship to referred component.
 
Methods inherited from class com.ibm.btt.rcp.perspective.core.impl.Registerable
getId, isHolder, setHolder, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.btt.rcp.perspective.core.ILayoutable
layout
 
Methods inherited from interface com.ibm.btt.rcp.perspective.core.IRegisterable
getId, initializeFrom, isHolder, setHolder, setId
 

Field Detail

ratio

protected float ratio

relationship

protected int relationship

refId

protected java.lang.String refId
Constructor Detail

Layoutable

public Layoutable()
Method Detail

getRatio

public float getRatio()
Description copied from interface: ILayoutable
Get ratio of this component

Specified by:
getRatio in interface ILayoutable
Returns:

getRefId

public java.lang.String getRefId()
Description copied from interface: ILayoutable
Get referred component id

Specified by:
getRefId in interface ILayoutable
Returns:

getRelationship

public int getRelationship()
Description copied from interface: ILayoutable
Get relationship to referred component. Might be SWT.LEFT, SWT.RIGHT, SWT.BOTTOM, SWT.TOP

Specified by:
getRelationship in interface ILayoutable
Returns:

setRatio

public void setRatio(float ratio)
Description copied from interface: ILayoutable
Set ratio for this component

Specified by:
setRatio in interface ILayoutable

setRefId

public void setRefId(java.lang.String refid)
Description copied from interface: ILayoutable
Set referred component id for this component

Specified by:
setRefId in interface ILayoutable

setRelationship

public void setRelationship(int relationship)
Description copied from interface: ILayoutable
Set relationship to referred component. Might be SWT.LEFT, SWT.RIGHT, SWT.BOTTOM, SWT.TOP

Specified by:
setRelationship in interface ILayoutable

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009