/**
* Initializes the properties of this theme.
* @param control the controller for which this theme will be used
*/
private void init( final CControl control ){
putColorBridgeFactory( TabColor.KIND_TAB_COLOR, new ColorBridgeFactory(){
public ColorBridge create( ColorManager manager ) {
BubbleTabTransmitter transmitter = new BubbleTabTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
putColorBridgeFactory( TitleColor.KIND_TITLE_COLOR, new ColorBridgeFactory(){
public ColorBridge create( ColorManager manager ) {
BubbleTitleTransmitter transmitter = new BubbleTitleTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
putColorBridgeFactory( DisplayerColor.KIND_DISPLAYER_COLOR, new ColorBridgeFactory(){
public ColorBridge create( ColorManager manager ) {
BubbleDisplayerTransmitter transmitter = new BubbleDisplayerTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
putColorBridgeFactory( TitleColor.KIND_FLAP_BUTTON_COLOR, new ColorBridgeFactory(){
public ColorBridge create( ColorManager manager ) {
BubbleButtonTitleTransmitter transmitter = new BubbleButtonTitleTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}