MobileControls
Extends:
This class represents the mobile menu containing all the controls.
Constructor Summary
Public Constructor | ||
public |
constructor(options: ShiftableComposedControlOptions) |
Member Summary
Public Members | ||
public |
handler_: * |
Method Summary
Public Methods | ||
public |
addControl(control: Control, options: g4uControlOptions) |
|
public |
|
Inherited Summary
From class ComposedControl | ||
public |
minHeight_: * |
|
public |
scrolled_: * |
|
public |
squeeze_: * |
|
private |
$container_: jQuery |
|
private |
|
|
private |
|
|
private |
|
|
private |
|
|
public |
addControl(control: Control, options: Object) |
|
public |
used by positioning |
|
public |
|
|
public |
get$Container(): jQuery |
|
public |
getControls(): Control[] |
|
public |
isSqueezable(dimension: string): boolean Returns true if the control is squeezable in the given dimension. |
|
public |
Removes the squeeze. |
|
public |
removeControl(control: Control, propagate: boolean) |
|
public |
|
|
public |
Squeezes the control in the given dimension by the provided value. |
|
public |
|
|
private |
addClasses_($item: jQuery): jQuery This method adds some helping css classes to the items |
From class ShiftableComposedControl | ||
private |
$moveLeftButton_: jQuery |
|
private |
$moveRightButton_: jQuery |
|
private |
|
|
private |
|
|
public |
addControl(control: Control, options: g4uControlOptions) |
|
public |
shiftControls(shift: *) Shift the controls the given amount of steps to the left. |
Public Constructors
public constructor(options: ShiftableComposedControlOptions) source
Override:
ShiftableComposedControl#constructorParams:
Name | Type | Attribute | Description |
options | ShiftableComposedControlOptions |
Public Members
public handler_: * source
Public Methods
public addControl(control: Control, options: g4uControlOptions) source
Override:
ShiftableComposedControl#addControlParams:
Name | Type | Attribute | Description |
control | Control | ||
options | g4uControlOptions |
public setMap(map: G4UMap) source
Override:
ComposedControl#setMapParams:
Name | Type | Attribute | Description |
map | G4UMap |