C# 클래스 window, blade

상속: Form
파일 보기 프로젝트 열기: vannatech/blade 1 사용 예제들

Private Properties

프로퍼티 타입 설명
EventTarget bool
EventTarget void
Window CSSStyleDeclaration
Window CSSStyleDeclaration
Window MediaQueryList
Window Window,
Window Window,
Window Window,
Window bool
Window bool
Window double
Window int
Window int
Window int
Window object
Window object
Window string
Window string
Window void
Window void
Window void
Window void
Window void
Window void
window System

공개 메소드들

메소드 설명
addEventListener ( string type, EventHandler, handler, bool useCapture ) : void

Registers an event handler with the target.

addEventListener ( string type, EventListener, listener, bool useCapture ) : void

Registers an event listener with the target.

alert ( string message ) : void

Displays an alert message.

blur ( ) : void

Sets focus away from the window.

clearInterval ( int intervalId ) : void

Prevents further execution of a previously created interval.

clearTimeout ( int timeoutId ) : void

Prevents execution of a previously created timeout.

close ( ) : void

Closes the window.

confirm ( string message ) : bool

Displays a confirmation message.

decodeURI ( string uri ) : string

Replaces each UTF-8 escape sequence with the character that it represents.

decodeURIComponent ( string uriComponent ) : string

Replaces each UTF-8 escape sequence with the character representation.

dispatchEvent ( Event, evt ) : bool

Dispatches an event through the taret.

encodeURI ( string uri ) : string

Replaces applicable characters of a URI with their UTF-8 encoded representation.

encodeURIComponent ( string uriComponent ) : string

Replaces applicable characters of a URI component with their UTF-8 encoded representation.

eval ( string value ) : object

Executes a script at runtime.

focus ( ) : void

Sets focus on the current window.

getComputedStyle ( Element elt ) : CSSStyleDeclaration

Gets the final CSS values resulting from all CSS properties applied to an element.

getComputedStyle ( Element elt, string pseudoElt ) : CSSStyleDeclaration

Gets the final CSS values resulting from all CSS properties applied to an element.

isFinite ( INumber value ) : bool

Gets a value indicating whether or not the input is a finite number.

isNaN ( INumber value ) : bool

Gets a value indicating whether or not the input is NaN.

matchMedia ( string queryString ) : MediaQueryList

Gets a MediaQueryList object representing the specified media query string.

open ( string url ) : Window

Opens a new window.

open ( string url, string name ) : Window

Opens a new window.

open ( string url, string name, string features ) : Window

Opens a new window.

parseFloat ( string value ) : double

Converts a string to a floating point numeric value.

parseInt ( string value ) : int

Converts a string to an integer value.

postMessage ( object message, string targetOrigin ) : void

Sends a message to another window, which may be in a different domain.

print ( ) : void

Opens the browser's print dialog.

prompt ( string message ) : string

Displays a prompt requesting input from the user.

prompt ( string message, string defaultValue ) : string

Displays a prompt requesting input from the user.

removeEventListener ( string type, EventHandler handler, bool useCapture ) : void

Removes an event handler from a target.

removeEventListener ( string type, EventListener listener, bool useCapture ) : void

Removes an event listener from a target.

requestAnimationFrame ( IFunction callback ) : void

Tells the browser that you wish to perform an animation and requests that the browser schedule a repaint of the window for the next animation frame.

This is provided for convenience but is not supported in all browsers, see https://developer.mozilla.org/en-US/docs/DOM/window.requestAnimationFrame#Browser_compatibility for details.

scroll ( int x, int y ) : void

Scrolls to a specific place in the document.

scrollBy ( int deltaX, int deltaY ) : void

Scrolls the document relative to its current position.

scrollTo ( int x, int y ) : void

Scrolls to a specific place in the document.

setInterval ( IFunction handler, int delay ) : int

Schedules a function to run at a specific interval.

setInterval ( string code, int delay ) : int

Schedules a code snippet to run at a specific interval.

setTimeout ( IFunction handler, int delay ) : int

Schedules a function to run once.

setTimeout ( string code, int delay ) : int

Schedules a code snippet to run once.

showModalDialog ( string url ) : object

Displays a modal dialog containing another document.

showModalDialog ( string url, object argument ) : object

Displays a modal dialog containing another document.

stop ( ) : void

Stops window loading.

비공개 메소드들

메소드 설명
EventTarget ( Event, evt ) : bool
EventTarget ( string type, EventListener, listener, bool useCapture ) : void
Window ( Element, elt ) : CSSStyleDeclaration
Window ( Element, elt, string pseudoElt ) : CSSStyleDeclaration
Window ( string queryString ) : MediaQueryList
Window ( string url ) : Window,
Window ( string url, string name ) : Window,
Window ( string url, string name, string features ) : Window,
Window ( INumber value ) : bool
Window ( string message ) : bool
Window ( string value ) : double
Window ( IFunction handler, int delay ) : int
Window ( string value ) : int
Window ( string code, int delay ) : int
Window ( string url ) : object
Window ( string url, object argument ) : object
Window ( string message ) : string
Window ( string message, string defaultValue ) : string
Window ( ) : void
Window ( IFunction callback ) : void
Window ( int timeoutId ) : void
Window ( int x, int y ) : void
Window ( object message, string targetOrigin ) : void
Window ( string message ) : void
window ( ) : System

메소드 상세

addEventListener() 공개 정적인 메소드

Registers an event handler with the target.
public static addEventListener ( string type, EventHandler, handler, bool useCapture ) : void
type string The event type name.
handler EventHandler, The event handler function.
useCapture bool Whether or not to use capture.
리턴 void

addEventListener() 공개 정적인 메소드

Registers an event listener with the target.
public static addEventListener ( string type, EventListener, listener, bool useCapture ) : void
type string The event type name.
listener EventListener, The listener to register.
useCapture bool Whether or not to use capture.
리턴 void

alert() 공개 정적인 메소드

Displays an alert message.
public static alert ( string message ) : void
message string The message text.
리턴 void

blur() 공개 정적인 메소드

Sets focus away from the window.
public static blur ( ) : void
리턴 void

clearInterval() 공개 정적인 메소드

Prevents further execution of a previously created interval.
public static clearInterval ( int intervalId ) : void
intervalId int The interval ID.
리턴 void

clearTimeout() 공개 정적인 메소드

Prevents execution of a previously created timeout.
public static clearTimeout ( int timeoutId ) : void
timeoutId int The timeout ID.
리턴 void

close() 공개 정적인 메소드

Closes the window.
public static close ( ) : void
리턴 void

confirm() 공개 정적인 메소드

Displays a confirmation message.
public static confirm ( string message ) : bool
message string The message text.
리턴 bool

decodeURI() 공개 정적인 메소드

Replaces each UTF-8 escape sequence with the character that it represents.
public static decodeURI ( string uri ) : string
uri string The URI to decode.
리턴 string

decodeURIComponent() 공개 정적인 메소드

Replaces each UTF-8 escape sequence with the character representation.
public static decodeURIComponent ( string uriComponent ) : string
uriComponent string The URI component to decode.
리턴 string

dispatchEvent() 공개 정적인 메소드

Dispatches an event through the taret.
public static dispatchEvent ( Event, evt ) : bool
evt Event, The event object.
리턴 bool

encodeURI() 공개 정적인 메소드

Replaces applicable characters of a URI with their UTF-8 encoded representation.
public static encodeURI ( string uri ) : string
uri string The URI to encode.
리턴 string

encodeURIComponent() 공개 정적인 메소드

Replaces applicable characters of a URI component with their UTF-8 encoded representation.
public static encodeURIComponent ( string uriComponent ) : string
uriComponent string The URI component.
리턴 string

eval() 공개 정적인 메소드

Executes a script at runtime.
public static eval ( string value ) : object
value string The script text.
리턴 object

focus() 공개 정적인 메소드

Sets focus on the current window.
public static focus ( ) : void
리턴 void

getComputedStyle() 공개 정적인 메소드

Gets the final CSS values resulting from all CSS properties applied to an element.
public static getComputedStyle ( Element elt ) : CSSStyleDeclaration
elt Element The target element.
리턴 CSSStyleDeclaration

getComputedStyle() 공개 정적인 메소드

Gets the final CSS values resulting from all CSS properties applied to an element.
public static getComputedStyle ( Element elt, string pseudoElt ) : CSSStyleDeclaration
elt Element The target element.
pseudoElt string The pseudo-element to match.
리턴 CSSStyleDeclaration

isFinite() 공개 정적인 메소드

Gets a value indicating whether or not the input is a finite number.
public static isFinite ( INumber value ) : bool
value INumber The input value.
리턴 bool

isNaN() 공개 정적인 메소드

Gets a value indicating whether or not the input is NaN.
public static isNaN ( INumber value ) : bool
value INumber The input value.
리턴 bool

matchMedia() 공개 정적인 메소드

Gets a MediaQueryList object representing the specified media query string.
public static matchMedia ( string queryString ) : MediaQueryList
queryString string
리턴 MediaQueryList

open() 공개 정적인 메소드

Opens a new window.
public static open ( string url ) : Window
url string The URL to open.
리턴 Window

open() 공개 정적인 메소드

Opens a new window.
public static open ( string url, string name ) : Window
url string The URL to open.
name string The name to apply to the window.
리턴 Window

open() 공개 정적인 메소드

Opens a new window.
public static open ( string url, string name, string features ) : Window
url string The URL to open.
name string The name to apply to the window.
features string A string representing the features available on the window.
리턴 Window

parseFloat() 공개 정적인 메소드

Converts a string to a floating point numeric value.
public static parseFloat ( string value ) : double
value string The input string.
리턴 double

parseInt() 공개 정적인 메소드

Converts a string to an integer value.
public static parseInt ( string value ) : int
value string The input string.
리턴 int

postMessage() 공개 정적인 메소드

Sends a message to another window, which may be in a different domain.
public static postMessage ( object message, string targetOrigin ) : void
message object The message data.
targetOrigin string The origin for the receiving window.
리턴 void

print() 공개 정적인 메소드

Opens the browser's print dialog.
public static print ( ) : void
리턴 void

prompt() 공개 정적인 메소드

Displays a prompt requesting input from the user.
public static prompt ( string message ) : string
message string The prompt message.
리턴 string

prompt() 공개 정적인 메소드

Displays a prompt requesting input from the user.
public static prompt ( string message, string defaultValue ) : string
message string The prompt message.
defaultValue string The initial input value.
리턴 string

removeEventListener() 공개 정적인 메소드

Removes an event handler from a target.
public static removeEventListener ( string type, EventHandler handler, bool useCapture ) : void
type string The event type name.
handler EventHandler The event handler function.
useCapture bool Whether or not capture was used.
리턴 void

removeEventListener() 공개 정적인 메소드

Removes an event listener from a target.
public static removeEventListener ( string type, EventListener listener, bool useCapture ) : void
type string The event type name.
listener EventListener The listener to remove.
useCapture bool Whether or not capture was used.
리턴 void

requestAnimationFrame() 공개 정적인 메소드

Tells the browser that you wish to perform an animation and requests that the browser schedule a repaint of the window for the next animation frame.
This is provided for convenience but is not supported in all browsers, see https://developer.mozilla.org/en-US/docs/DOM/window.requestAnimationFrame#Browser_compatibility for details.
public static requestAnimationFrame ( IFunction callback ) : void
callback IFunction
리턴 void

scroll() 공개 정적인 메소드

Scrolls to a specific place in the document.
public static scroll ( int x, int y ) : void
x int The X position, in pixels.
y int The Y position, in pixels.
리턴 void

scrollBy() 공개 정적인 메소드

Scrolls the document relative to its current position.
public static scrollBy ( int deltaX, int deltaY ) : void
deltaX int The X position change, in pixels.
deltaY int The Y position change, in pixels.
리턴 void

scrollTo() 공개 정적인 메소드

Scrolls to a specific place in the document.
public static scrollTo ( int x, int y ) : void
x int The X position, in pixels.
y int The Y position, in pixels.
리턴 void

setInterval() 공개 정적인 메소드

Schedules a function to run at a specific interval.
public static setInterval ( IFunction handler, int delay ) : int
handler IFunction The function to execute.
delay int The delay, in milliseconds.
리턴 int

setInterval() 공개 정적인 메소드

Schedules a code snippet to run at a specific interval.
public static setInterval ( string code, int delay ) : int
code string The code to run.
delay int The delay, in milliseconds.
리턴 int

setTimeout() 공개 정적인 메소드

Schedules a function to run once.
public static setTimeout ( IFunction handler, int delay ) : int
handler IFunction The function to execute.
delay int The delay, in milliseconds.
리턴 int

setTimeout() 공개 정적인 메소드

Schedules a code snippet to run once.
public static setTimeout ( string code, int delay ) : int
code string The code to run.
delay int The delay, in milliseconds.
리턴 int

showModalDialog() 공개 정적인 메소드

Displays a modal dialog containing another document.
public static showModalDialog ( string url ) : object
url string The URL to show.
리턴 object

showModalDialog() 공개 정적인 메소드

Displays a modal dialog containing another document.
public static showModalDialog ( string url, object argument ) : object
url string The URL to show.
argument object Parameters that are passed to the document.
리턴 object

stop() 공개 정적인 메소드

Stops window loading.
public static stop ( ) : void
리턴 void