de.lessvoid.nifty.controls.chatcontrol.builder
Class ChatCreator

java.lang.Object
  extended by de.lessvoid.nifty.controls.dynamic.attributes.ControlAttributes
      extended by de.lessvoid.nifty.controls.chatcontrol.builder.ChatCreator

public class ChatCreator
extends ControlAttributes


Field Summary
 
Fields inherited from class de.lessvoid.nifty.controls.dynamic.attributes.ControlAttributes
attributes, effects, interact
 
Constructor Summary
ChatCreator(int lines)
           
ChatCreator(String id, int lines)
           
 
Method Summary
 Chat create(Nifty nifty, Screen screen, Element parent)
           
 ElementType createType()
           
 void setChatLineHeight(SizeValue value)
           
 void setChatLineIconHeight(SizeValue value)
           
 void setChatLineIconWidth(SizeValue value)
           
 void setLines(int lines)
           
 void setSendLabel(String sendLabel)
           
 
Methods inherited from class de.lessvoid.nifty.controls.dynamic.attributes.ControlAttributes
addEffectsOnActive, addEffectsOnClick, addEffectsOnCustom, addEffectsOnEndHover, addEffectsOnEndScreen, addEffectsOnFocus, addEffectsOnGetFocus, addEffectsOnHide, addEffectsOnHover, addEffectsOnLostFocus, addEffectsOnShow, addEffectsOnStartHover, addEffectsOnStartScreen, connect, createControlInternal, createImage, createLayer, createPanel, createStyleType, createText, get, getStandardControl, isAutoId, refreshAttributes, refreshEffects, registerPopup, set, setAlign, setAutoId, setBackgroundColor, setBackgroundImage, setChildClip, setChildLayout, setColor, setController, setEffects, setEffectsAttribute, setEffectsOverlay, setFilename, setFocusable, setFocusableInsertBeforeElementId, setFont, setHeight, setId, setImageMode, setInputMapping, setInset, setInteract, setInteractAttribute, setInteractOnClick, setInteractOnClickAlternateKey, setInteractOnClickMouseMove, setInteractOnClickRepeat, setInteractOnMouseOver, setInteractOnRelease, setName, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setSelectionColor, setStyle, setText, setTextHAlign, setTextVAlign, setVAlign, setVisible, setVisibleToMouse, setWidth, setX, setY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatCreator

public ChatCreator(int lines)

ChatCreator

public ChatCreator(String id,
                   int lines)
Method Detail

setLines

public void setLines(int lines)

setSendLabel

public void setSendLabel(String sendLabel)

setChatLineIconWidth

public void setChatLineIconWidth(SizeValue value)

setChatLineIconHeight

public void setChatLineIconHeight(SizeValue value)

setChatLineHeight

public void setChatLineHeight(SizeValue value)

create

public Chat create(Nifty nifty,
                   Screen screen,
                   Element parent)

createType

public ElementType createType()
Overrides:
createType in class ControlAttributes


Copyright © 2011. All Rights Reserved.