com.jmex.bui
Class BTitleBar

java.lang.Object
  extended by com.jmex.bui.BComponent
      extended by com.jmex.bui.BContainer
          extended by com.jmex.bui.BTitleBar

public class BTitleBar
extends BContainer

Since:
27Apr07
Author:
timo

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jmex.bui.BContainer
BContainer.ChildOp
 
Field Summary
 
Fields inherited from class com.jmex.bui.BContainer
_children, _layout
 
Fields inherited from class com.jmex.bui.BComponent
_alpha, _backgrounds, _bbuf, _borders, _colors, _cursor, _enabled, _height, _hover, _insets, _listeners, _parent, _preferredSize, _properties, _styleClass, _tipmouse, _tipStyle, _tiptext, _valid, _visible, _width, _x, _y, DEFAULT, DISABLED, HOVER, STATE_COUNT, STATE_PCLASSES
 
Constructor Summary
BTitleBar(java.lang.String name, BLabel title, TitleOptions options)
           
BTitleBar(java.lang.String name, java.lang.String title, TitleOptions options)
           
BTitleBar(java.lang.String _name, java.lang.String _title, TitleOptions options, java.lang.String titleBarStyle)
           
 
Method Summary
 void addListener(ComponentListener listener)
          Adds a listener to this component.
 boolean dispatchEvent(BEvent event)
          Instructs this component to process the supplied event.
 void setTitle(java.lang.String windowTitle)
           
 
Methods inherited from class com.jmex.bui.BContainer
add, add, add, add, applyOperation, computePreferredSize, getComponent, getComponentCount, getComponentIndex, getDefaultStyleClass, getHitComponent, getLayoutManager, getNextFocus, getPreviousFocus, layout, remove, remove, removeAll, renderComponent, replace, setAlpha, setEnabled, setLayoutManager, setVisible, validate, wasAdded, wasRemoved
 
Methods inherited from class com.jmex.bui.BComponent
acceptsFocus, addListeners, applyDefaultStates, boundsToString, changeCursor, configureStyle, createTooltipComponent, emitEvent, getAbsoluteX, getAbsoluteY, getAlpha, getBackground, getBorder, getBounds, getColor, getCursor, getFocusTarget, getHeight, getInsets, getLocation, getName, getNextFocus, getParent, getPreferredSize, getPreviousFocus, getProperty, getState, getStateCount, getStatePseudoClass, getStyleClass, getTooltipText, getWidth, getWindow, getX, getY, hasFocus, intersectScissorBox, invalidate, isAdded, isConsumeMouseEvents, isEnabled, isHoverEnabled, isShowing, isTooltipRelativeToMouse, isValid, isVisible, removeAllListeners, removeListener, render, renderBackground, renderBorder, requestFocus, restoreScissorState, setBackground, setBounds, setConsumeMouseEvents, setCursor, setHoverEnabled, setLocation, setName, setParent, setPreferredSize, setPreferredSize, setProperty, setSize, setStyleClass, setTooltipRelativeToMouse, setTooltipText, stateDidChange, updateCursor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BTitleBar

public BTitleBar(java.lang.String name,
                 BLabel title,
                 TitleOptions options)

BTitleBar

public BTitleBar(java.lang.String name,
                 java.lang.String title,
                 TitleOptions options)

BTitleBar

public BTitleBar(java.lang.String _name,
                 java.lang.String _title,
                 TitleOptions options,
                 java.lang.String titleBarStyle)
Method Detail

addListener

public void addListener(ComponentListener listener)
Description copied from class: BComponent
Adds a listener to this component. The listener will be notified when events of the appropriate type are dispatched on this component.

Overrides:
addListener in class BComponent

setTitle

public void setTitle(java.lang.String windowTitle)

dispatchEvent

public boolean dispatchEvent(BEvent event)
Description copied from class: BComponent
Instructs this component to process the supplied event. If the event is not processed, it will be passed up to its parent component for processing. Derived classes should thus only call super.dispatchEvent for events that they did not "consume".

Overrides:
dispatchEvent in class BComponent
Returns:
true if this event was consumed, false if not.


Copyright © 2011 Michael Bayne. All Rights Reserved.