alan
4 years ago
5 changed files with 87 additions and 2 deletions
@ -0,0 +1,36 @@ |
|||||||
|
import { Widget } from "../../widget"; |
||||||
|
import { Layout } from "../layout"; |
||||||
|
|
||||||
|
export declare class CardLayout extends Layout { |
||||||
|
static xtype: string; |
||||||
|
|
||||||
|
empty(): void; |
||||||
|
|
||||||
|
isCardExisted(cardName: string): boolean; |
||||||
|
|
||||||
|
getCardByName<T>(name: string):T; |
||||||
|
|
||||||
|
deleteCardByName(cardName: string): void; |
||||||
|
|
||||||
|
addCardByName(cardName: string, cardItem: any): Widget |
||||||
|
|
||||||
|
showCardByName(cardName: string, action: any, callback: () => void): void; |
||||||
|
|
||||||
|
showLastCard(): void; |
||||||
|
|
||||||
|
setDefaultShowName(name: string): void; |
||||||
|
|
||||||
|
getDefaultShowName(): string; |
||||||
|
|
||||||
|
getAllCardNames(): string[]; |
||||||
|
|
||||||
|
getShowingCard<T>(): T; |
||||||
|
|
||||||
|
deleteAllCard(): void; |
||||||
|
|
||||||
|
hideAllCard(): void; |
||||||
|
|
||||||
|
isAllCardHide(): boolean; |
||||||
|
|
||||||
|
removeWidget(nameOrWidget: string | Widget): void; |
||||||
|
} |
@ -0,0 +1,13 @@ |
|||||||
|
import { Single } from "../../base/single/single"; |
||||||
|
|
||||||
|
export declare class TimeCombo extends Single { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_KEY_DOWN: string; |
||||||
|
static EVENT_CONFIRM: string; |
||||||
|
static EVENT_CHANGE: string; |
||||||
|
static EVENT_VALID: string; |
||||||
|
static EVENT_ERROR: string; |
||||||
|
static EVENT_BEFORE_POPUPVIEW: string; |
||||||
|
|
||||||
|
hidePopupView(): void; |
||||||
|
} |
@ -0,0 +1,14 @@ |
|||||||
|
import { Single } from "../../base/single/single"; |
||||||
|
|
||||||
|
export declare class DynamicYearMonthCombo extends Single { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_ERROR: string; |
||||||
|
static EVENT_VALID: string; |
||||||
|
static EVENT_FOCUS: string; |
||||||
|
static EVENT_CONFIRM: string; |
||||||
|
static EVENT_BEFORE_POPUPVIEW: string; |
||||||
|
|
||||||
|
hideView(): void; |
||||||
|
|
||||||
|
getKey(): string; |
||||||
|
} |
Loading…
Reference in new issue